summaryrefslogtreecommitdiff
path: root/docker/ubuntu-22.04.Dockerfile
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2023-07-20 21:54:43 +0900
committerRyo Nakamura <upa@haeena.net>2023-07-20 21:54:43 +0900
commita847ef1ea8062c09b42b1ea1b048a388c9e593fc (patch)
treec53ae68be8be157be0f0f17957d53dd8617a7177 /docker/ubuntu-22.04.Dockerfile
parent24e86f58d87d48864e6ae33f1953124e467753ea (diff)
drop centos8, add almalinux 8.8, update rocky to 8.8
And cleanup Docker files
Diffstat (limited to 'docker/ubuntu-22.04.Dockerfile')
-rw-r--r--docker/ubuntu-22.04.Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/docker/ubuntu-22.04.Dockerfile b/docker/ubuntu-22.04.Dockerfile
index e2c6f47..673d880 100644
--- a/docker/ubuntu-22.04.Dockerfile
+++ b/docker/ubuntu-22.04.Dockerfile
@@ -1,10 +1,6 @@
FROM ubuntu:22.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
@@ -20,6 +16,9 @@ RUN mkdir /var/run/sshd \
&& ssh-keygen -f /root/.ssh/id_rsa -N "" \
&& 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