help building a docker image
#7
(07-11-2019, 10:47 PM)bjbjb Wrote: I'm trying to install the same image but can't get it to install

Code:
FROM arm64v8/alpine:3.7

VOLUME /data
VOLUME /config

ARG DOCKERIZE_ARCH=armhf

ENV DOCKERIZE_VERSION=v0.6.0

RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk --no-cache add bash dumb-init ip6tables ufw@testing openvpn shadow transmission-daemon transmission-cli curl jq \
&& echo "Install dockerize $DOCKERIZE_VERSION ($DOCKERIZE_ARCH)" \
&& wget -qO- https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-$DOCKERIZE_ARCH-$DOCKERIZE_VERSION.tar.gz | tar xz -C /usr/bin \
&& mkdir -p /opt/transmission-ui \
&& echo "Install Combustion" \
&& wget -qO- https://github.com/Secretmapper/combustion/archive/release.tar.gz | tar xz -C /opt/transmission-ui \
&& echo "Install kettu" \
&& wget -qO- https://github.com/endor/kettu/archive/master.tar.gz | tar xz -C /opt/transmission-ui \
&& mv /opt/transmission-ui/kettu-master /opt/transmission-ui/kettu \
&& echo "Install Transmission-Web-Control" \
&& mkdir /opt/transmission-ui/transmission-web-control \
&& curl -sL `curl -s https://api.github.com/repos/ronggang/transmission-web-control/releases/latest | jq --raw-output '.tarball_url'` | tar -C /opt/transmission-ui/transmission-web-control/ --strip-components=2 -xz \
&& ln -s /usr/share/transmission/web/style /opt/transmission-ui/transmission-web-control \
&& ln -s /usr/share/transmission/web/images /opt/transmission-ui/transmission-web-control \
&& ln -s /usr/share/transmission/web/javascript /opt/transmission-ui/transmission-web-control \
&& ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control/index.original.html \
&& rm -rf /tmp/* /var/tmp/* \
&& groupmod -g 1000 users \
&& useradd -u 911 -U -d /config -s /bin/false abc \
&& usermod -G users abc

ADD openvpn/ /etc/openvpn/
ADD transmission/ /etc/transmission/
plus all the environmental stuff, but it doesn't even get there.
Instead I'm getting this:
Code:
Step 7/11 : ADD openvpn/ /etc/openvpn/
ADD failed: stat /var/lib/docker/tmp/docker-builder012776508/openvpn: no such file or directory

Any ideas?
Thanks!

This is just a guess based on this:

https://github.com/docker/for-linux/issu...-455507788


Maybe you have to run the script from the same directory the openvpn/ directory resides in.
  Reply


Messages In This Thread
help building a docker image - by jata - 03-24-2018, 02:13 AM
RE: help building a docker image - by jata - 03-24-2018, 05:30 AM
RE: help building a docker image - by pfeerick - 03-24-2018, 06:01 AM
RE: help building a docker image - by jata - 03-24-2018, 10:31 PM
RE: help building a docker image - by pfeerick - 03-27-2018, 02:27 AM
RE: help building a docker image - by bjbjb - 07-11-2019, 10:47 PM
RE: help building a docker image - by hmuller - 07-12-2019, 08:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NextCloudPi image for Rock64, NC version 13.0.2. nachoparker 11 23,264 03-15-2021, 02:59 PM
Last Post: kiriakos
  Remedial Docker lessons cjyar 2 3,936 12-19-2019, 05:38 AM
Last Post: lbruno
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 4,064 09-19-2019, 07:00 AM
Last Post: Malmgren
  Upgrading Debian Stretch image to Buster cosuhi 2 4,717 08-27-2019, 02:42 AM
Last Post: Malmgren
  Underclocking the Rock64 (latest stable linux image) va88 2 4,277 08-07-2019, 05:39 PM
Last Post: evilbunny
Smile First Lakka image for Rock64! Luke 46 72,824 05-28-2019, 12:13 AM
Last Post: pineadmin
  Arch Linux minimal image w/ full HDMI output support hiccupstix 1 3,636 11-01-2018, 08:33 AM
Last Post: danboid
  Tutorial How to write a image in the eMMc card without USB adaptor or serial cable gedas07 2 3,812 08-29-2018, 10:08 AM
Last Post: gedas07
  Docker Mssql Riverman 5 6,421 07-09-2018, 11:26 PM
Last Post: pfeerick
  docker contaainer error on "docker login" edwinbmiller 0 1,577 06-18-2018, 10:08 AM
Last Post: edwinbmiller

Forum Jump:


Users browsing this thread: 1 Guest(s)