Add CA certificates to final Docker image
Fixes https://github.com/tus/tusd/issues/227
This commit is contained in:
parent
33d12533e7
commit
daa2250530
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue