Closed night-gold closed 2 years ago
I updated Docker file to be the following:
FROM alpine:3.7
ENV GCSPROXY_VERSION=0.3.0 ENV GCSPROXY_VERSION=0.3.0
RUN apk add --update ca-certificates
RUN apk add --no-cache --virtual .build-deps ca-certificates wget \ RUN apk add --no-cache --virtual .build-deps ca-certificates wget \
&& update-ca-certificates \
&& wget https://github.com/daichirata/gcsproxy/releases/download/v${GCSPROXY_VERSION}/gcsproxy_${GCSPROXY_VERSION}_amd64_linux -O /usr/local/bin/gcsproxy \ && wget https://github.com/daichirata/gcsproxy/releases/download/v${GCSPROXY_VERSION}/gcsproxy_${GCSPROXY_VERSION}_amd64_linux -O /usr/local/bin/gcsproxy \
&& chmod +x /usr/local/bin/gcsproxy \ && chmod +x /usr/local/bin/gcsproxy \
&& apk del .build-deps && apk del .build-deps
and I was able to successfully build and run the app in the container.
Newly modified Dockerfile definition. Please refer to it.
Hello,
The docker file is not done from a valid image to call on the gcs with an nginx server in front and give an error related to google root CA.
The solution I used to resolve this problem was to use the google/cloud-sdk official image.