Add CA certificates to final Docker image

Fixes https://github.com/tus/tusd/issues/227
This commit is contained in:
Acconut 2019-01-14 00:08:03 +01:00
parent 33d12533e7
commit daa2250530
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ FROM alpine:3.8
COPY --from=builder /go/bin/tusd /usr/local/bin/tusd COPY --from=builder /go/bin/tusd /usr/local/bin/tusd
RUN addgroup -g 1000 tusd \ RUN apk add --no-cache ca-certificates \
&& addgroup -g 1000 tusd \
&& adduser -u 1000 -G tusd -s /bin/sh -D tusd \ && adduser -u 1000 -G tusd -s /bin/sh -D tusd \
&& mkdir -p /srv/tusd-hooks \ && mkdir -p /srv/tusd-hooks \
&& mkdir -p /srv/tusd-data \ && mkdir -p /srv/tusd-data \