2016-02-07 06:47:37 +00:00
|
|
|
FROM anapsix/alpine-java:jre7
|
|
|
|
MAINTAINER Andrew Gaul <andrew@gaul.org>
|
|
|
|
|
|
|
|
WORKDIR /opt/s3proxy
|
2016-11-04 02:24:11 +00:00
|
|
|
COPY \
|
|
|
|
target/s3proxy \
|
|
|
|
src/main/resources/run-docker-container.sh \
|
|
|
|
/opt/s3proxy/
|
2016-02-07 06:47:37 +00:00
|
|
|
|
|
|
|
ENV \
|
|
|
|
LOG_LEVEL="info" \
|
|
|
|
S3PROXY_AUTHORIZATION="aws-v2" \
|
|
|
|
S3PROXY_IDENTITY="local-identity" \
|
|
|
|
S3PROXY_CREDENTIAL="local-credential" \
|
|
|
|
JCLOUDS_PROVIDER="filesystem" \
|
|
|
|
JCLOUDS_ENDPOINT="" \
|
|
|
|
JCLOUDS_IDENTITY="remote-identity" \
|
|
|
|
JCLOUDS_CREDENTIAL="remote-credential"
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
VOLUME /data
|
|
|
|
|
2016-09-05 05:14:59 +00:00
|
|
|
ENTRYPOINT ["/opt/s3proxy/run-docker-container.sh"]
|