Skip to content

Commit c49912b

Browse files
committed
release v1.4.1
1 parent 0533dab commit c49912b

File tree

4 files changed

+38
-29
lines changed

4 files changed

+38
-29
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
[![pottava/s3-proxy](http://dockeri.co/image/pottava/s3-proxy)](https://hub.docker.com/r/pottava/s3-proxy/)
66

77
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))
1112

1213
## Description
1314

docker/linux/1.4/Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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"]

docker/windows/1.4/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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"]

prod/Dockerfile

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)