From 17805bf6a3c9afb1519506cb3c01bc0d2fc5d3d9 Mon Sep 17 00:00:00 2001 From: dev <> Date: Tue, 26 Dec 2023 09:36:47 +0000 Subject: [PATCH] origin: improve docker layers --- origin/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/origin/Dockerfile b/origin/Dockerfile index df9aa78..b1bc1eb 100644 --- a/origin/Dockerfile +++ b/origin/Dockerfile @@ -63,11 +63,13 @@ ENV LANG="en_US.UTF-8" ENV LANGUAGE="en_US:en" # Copy files and build -COPY --from=builder_files /etc/passwd /etc/passwd -COPY --from=builder_files /etc/group /etc/group +COPY --from=builder_files \ + /etc/passwd \ + /etc/group \ + /etc/mime.types \ + /etc/timezone \ + /etc COPY --from=builder_files /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt -COPY --from=builder_files /etc/mime.types /etc/mime.types -COPY --from=builder_files /etc/timezone /etc/timezone COPY --from=builder_go /origin/dist/origin /usr/local/bin/origin