mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
docker: better clarify when ca-certificates package is needed
This commit is contained in:
parent
e011f793ec
commit
0061978db8
2 changed files with 7 additions and 3 deletions
|
@ -12,8 +12,10 @@ FROM alpine:latest
|
|||
RUN apk add --no-cache ca-certificates su-exec \
|
||||
&& mkdir -p /data /etc/sftpgo /srv/sftpgo/config /srv/sftpgo/web /srv/sftpgo/backups
|
||||
|
||||
# git and rsync are optional, uncomment the next line to add support for them if needed
|
||||
#RUN apk add --no-cache git rsync
|
||||
# ca-certificates is needed for Cloud Storage Support and to expose the REST API over HTTPS.
|
||||
# If you install git then ca-certificates will be automatically installed as dependency.
|
||||
# git, rsync and ca-certificates are optional, uncomment the next line to add support for them if needed.
|
||||
#RUN apk add --no-cache git rsync ca-certificates
|
||||
|
||||
COPY --from=builder /go/bin/sftpgo /bin/
|
||||
COPY --from=builder /go/src/github.com/drakkan/sftpgo/sftpgo.json /etc/sftpgo/sftpgo.json
|
||||
|
|
|
@ -10,7 +10,9 @@ RUN go build -i -ldflags "-s -w -X github.com/drakkan/sftpgo/utils.commit=`git d
|
|||
# now define the run environment
|
||||
FROM debian:latest
|
||||
|
||||
# git, rsync and ca-certificates are optional, uncomment the next line to add support for them if needed. (ca-certificate if you're going to use S3 binding feature)
|
||||
# ca-certificates is needed for Cloud Storage Support and to expose the REST API over HTTPS.
|
||||
# If you install git then ca-certificates will be automatically installed as dependency.
|
||||
# git, rsync and ca-certificates are optional, uncomment the next line to add support for them if needed.
|
||||
#RUN apt-get update && apt-get install -y git rsync ca-certificates
|
||||
|
||||
ARG BASE_DIR=/app
|
||||
|
|
Loading…
Reference in a new issue