diff options
Diffstat (limited to 'docker/ubuntu-20.04.Dockerfile')
-rw-r--r-- | docker/ubuntu-20.04.Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/ubuntu-20.04.Dockerfile b/docker/ubuntu-20.04.Dockerfile index d00f7c8..707a79d 100644 --- a/docker/ubuntu-20.04.Dockerfile +++ b/docker/ubuntu-20.04.Dockerfile @@ -1,10 +1,6 @@ FROM ubuntu:20.04 ARG DEBIAN_FRONTEND=noninteractive -ARG mscpdir="/mscp" - -COPY . ${mscpdir} - RUN set -ex && apt-get update && apt-get install -y --no-install-recommends \ ca-certificates @@ -21,6 +17,10 @@ RUN mkdir /var/run/sshd \ && mv /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys +ARG mscpdir="/mscp" + +COPY . ${mscpdir} + # install build dependency RUN ${mscpdir}/scripts/install-build-deps.sh |