Skip to content

Commit aeaf2c4

Browse files
committed
try again
1 parent 012dd8c commit aeaf2c4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
FROM alpine:edge
2-
ARG S3_ARGS
32
RUN apk update
43
RUN apk upgrade
54
RUN apk add py-pip

s3cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ S3_ARGS=" $@"
44
S3_ARGS=$(echo "$S3_ARGS" | sed "s/ \// \/host_root\//g")
55
S3_ARGS=$(echo "$S3_ARGS" | sed "s/=\//=\/host_root\//g")
66
S3_ARGS=$(echo "$S3_ARGS" | sed "s/:\//:\/host_root\//g")
7-
docker run --rm -i -v $HOME/.s3cfg:/root/.s3cfg -v /:/host_root -w $ABS_PWD durosoft/s3cmd-shim$S3_ARGS
7+
docker run --rm -i -v $HOME/.s3cfg:/root/.s3cfg -v /:/host_root -w $ABS_PWD -e S3_ARGS="$S3_ARGS" -a durosoft/s3cmd-shim

0 commit comments

Comments
 (0)