Skip to content

Commit

Permalink
origin: improve docker layers
Browse files Browse the repository at this point in the history
  • Loading branch information
dev committed Dec 26, 2023
1 parent 7a8febd commit 17805bf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions origin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 17805bf

Please sign in to comment.