mirror of
https://github.com/foomo/contentserver.git
synced 2026-10-06 23:16:56 +00:00
from alpine:latest instead of scratch
issues with ssl timeout from curl.haxx.se
This commit is contained in:
+2
-2
@@ -1,11 +1,11 @@
|
||||
FROM scratch
|
||||
FROM alpine:latest
|
||||
|
||||
COPY bin/contentserver /usr/sbin/contentserver
|
||||
|
||||
# install ca root certificates
|
||||
# https://curl.haxx.se/docs/caextract.html
|
||||
# http://blog.codeship.com/building-minimal-docker-containers-for-go-applications/
|
||||
ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/ca-certificates.crt
|
||||
#ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
ENV CONTENT_SERVER_LOG_LEVEL=error
|
||||
ENV CONTENT_SERVER_ADDR=0.0.0.0:80
|
||||
|
||||
Reference in New Issue
Block a user