Skip to content

Commit

Permalink
#404 - Add certificates for Docker on Linux (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
trufflethumb authored Oct 25, 2022
1 parent 1836e8e commit 6000cc5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ RUN swift build --build-path /build/.build --static-swift-stdlib -c release

FROM ubuntu:focal
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && \
apt-get -q update && apt-get -q upgrade -y && apt-get install -y --no-install-recommends git \
apt-get -q update && apt-get -q upgrade -y && apt-get install -y --no-install-recommends git ca-certificates \
&& rm -r /var/lib/apt/lists/*
COPY --from=build /build/.build/release/vapor /usr/bin

RUN git config --global user.name "Vapor"
RUN git config --global user.email "[email protected]"

ENTRYPOINT ["vapor"]

0 comments on commit 6000cc5

Please sign in to comment.