oxyno-zeta / s3-proxy

S3 Reverse Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth)
https://oxyno-zeta.github.io/s3-proxy/
Apache License 2.0
295 stars 33 forks source link

Makes Docker image self-buildable #327

Closed EnigmaCurry closed 1 year ago

EnigmaCurry commented 1 year ago

name: Pull request about: Pull request for this project title: "Makes Docker image self-buildable" labels: "" assignees: ""

Issue/Feature

I do not want to build s3-proxy on my host computer, but only as a docker image. This addition creates a multi-stage Dockerfile to build the s3-proxy binary and make an image in one step.

Additional Information

This does not require you to prebuild the s3-proxy binary. To build a Docker image from scratch, just run:

docker build -t s3-proxy .

Verification Steps

Checklist: