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

Let the docker image build itself #328

Closed EnigmaCurry closed 1 year ago

EnigmaCurry commented 1 year ago

Is your feature request related to a problem? Please describe. I would like to build the docker image without first needing to build it on the host.

Describe the solution you'd like I would like to build the image without dependencies, like:

docker build -t s3-proxy .

Describe alternatives you've considered I have made a multi-stage Dockerfile that builds the application and image in one step: see #327

Additional context

For example its really nice and dependency free from docker-compose, just give it the URL/branch and it will build it itself:

# docker-compose.yaml
services:
  s3-proxy:
    build:
      context: https://github.com/EnigmaCurry/s3-proxy.git#self-buildable
oxyno-zeta commented 1 year ago

Hello,

Thanks for your issue and pull request. I see why you want this but this have to work with all platform with goreleaser. I will need some time to check if this is working or not.

Oxyno-zeta

oxyno-zeta commented 1 year ago

From my quick tests, the code you provided in your pull request seems to not be compatible with Goreleaser.

I need to check more details.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days