Sign inSign up

voxsoft/gcsproxy

By voxsoft

•Updated over 3 years ago

Source: https://github.com/daichirata/gcsproxy with custom Dockerfile configuration

Image
0

117

voxsoft/gcsproxy repository overview

Source: https://github.com/daichirata/gcsproxy⁠ with custom Dockerfile configuration

FROM debian:buster-slim AS build

WORKDIR /tmp
ENV GCSPROXY_VERSION=0.4.0

RUN apt-get update \
    && apt-get install --no-install-suggests --no-install-recommends --yes ca-certificates wget \
    && wget https://github.com/daichirata/gcsproxy/releases/download/v${GCSPROXY_VERSION}/gcsproxy-${GCSPROXY_VERSION}-linux-amd64.tar.gz \
    && tar zxf gcsproxy-${GCSPROXY_VERSION}-linux-amd64.tar.gz \
    && cp ./gcsproxy-${GCSPROXY_VERSION}-linux-amd64/gcsproxy .

FROM gcr.io/distroless/base
COPY --from=build /tmp/gcsproxy /gcsproxy
CMD /gcsproxy -b 0.0.0.0:8080

Development local run:

docker run -p 8080:8080 \
-v $HOME/.config/gcloud/application_default_credentials.json:/root/.config/gcloud/application_default_credentials.json \
voxsoft/gcsproxy:stable /gcsproxy -v -b 0.0.0.0:8080

http://localhost:8080/$BUCKET/index.html⁠

Tag summary

Content type

Image

Digest

sha256:f94e88377…

Size

13.5 MB

Last updated

over 3 years ago

docker pull voxsoft/gcsproxy:stable