File tree Expand file tree Collapse file tree 4 files changed +38
-29
lines changed Expand file tree Collapse file tree 4 files changed +38
-29
lines changed Original file line number Diff line number Diff line change 5
5
[ ![ pottava/s3-proxy] ( http://dockeri.co/image/pottava/s3-proxy )] ( https://hub.docker.com/r/pottava/s3-proxy/ )
6
6
7
7
Supported tags and respective ` Dockerfile ` links:
8
- ・latest ([ prod/Dockerfile] ( https://github.com/pottava/aws-s3-proxy/blob/master/prod/Dockerfile ) )
9
- ・1.1 ([ prod/Dockerfile] ( https://github.com/pottava/aws-s3-proxy/blob/master/prod/Dockerfile ) )
10
- ・1 ([ prod/Dockerfile] ( https://github.com/pottava/aws-s3-proxy/blob/master/prod/Dockerfile ) )
8
+ ・latest ([ prod/linux/1.4/Dockerfile] ( https://github.com/pottava/aws-s3-proxy/blob/master/prod/linux/1.4/Dockerfile ) )
9
+ ・1.4 ([ prod/linux/1.4/Dockerfile] ( https://github.com/pottava/aws-s3-proxy/blob/master/prod/linux/1.4/Dockerfile ) )
10
+ ・1.4-win ([ prod/windows/1.4/Dockerfile] ( https://github.com/pottava/aws-s3-proxy/blob/master/prod/windows/1.4/Dockerfile ) )
11
+ ・1 ([ prod/linux/1.4/Dockerfile] ( https://github.com/pottava/aws-s3-proxy/blob/master/prod/linux/1.4/Dockerfile ) )
11
12
12
13
## Description
13
14
Original file line number Diff line number Diff line change
1
+ # AWS S3 Proxy v1.4
2
+ # docker run -d -p 8080:80 -e AWS_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_S3_BUCKET pottava/s3-proxy
3
+
4
+ FROM golang:1.11.4-alpine3.8 AS build-env
5
+ RUN apk --no-cache add gcc musl-dev git
6
+ RUN go get -u github.com/golang/dep/...
7
+ WORKDIR /go/src/github.com/golang/dep
8
+ RUN git checkout v0.5.0 > /dev/null 2>&1
9
+ RUN go install github.com/golang/dep/...
10
+ RUN go get -u github.com/pottava/aws-s3-proxy
11
+ WORKDIR /go/src/github.com/pottava/aws-s3-proxy
12
+ RUN git checkout v1.4.1 > /dev/null 2>&1
13
+ RUN dep ensure
14
+ RUN go build -a -installsuffix cgo -ldflags "-s -w"
15
+
16
+ FROM alpine:3.8
17
+
18
+ ENV AWS_REGION=us-east-1 \
19
+ APP_PORT=80 \
20
+ ACCESS_LOG=false \
21
+ CONTENT_ENCODING=true
22
+
23
+ RUN apk add --no-cache ca-certificates
24
+ COPY --from=build-env /go/src/github.com/pottava/aws-s3-proxy/aws-s3-proxy /aws-s3-proxy
25
+ ENTRYPOINT ["/aws-s3-proxy" ]
Original file line number Diff line number Diff line change
1
+ FROM mcr.microsoft.com/windows/nanoserver:10.0.14393.2485
2
+
3
+ ENV AWS_REGION=us-east-1 \
4
+ APP_PORT=80 \
5
+ ACCESS_LOG=false \
6
+ CONTENT_ENCODING=true
7
+
8
+ ADD https://github.com/pottava/aws-s3-proxy/releases/download/v1.4.1/windows_amd64.exe proxy.exe
9
+ ENTRYPOINT ["C:\\ proxy.exe" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments