We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4b587a commit f977489Copy full SHA for f977489
.dockerignore
@@ -0,0 +1,6 @@
1
+# Binary
2
+s3sync
3
+
4
+# Vendor dir
5
+vendor/
6
+dist/
Dockerfile
@@ -0,0 +1,11 @@
+# Build in Docker container
+FROM golang:1.13 as builder
+COPY . /src/s3sync
+WORKDIR /src/s3sync
+RUN go mod vendor && \
7
+ go build -o /usr/local/bin/s3sync ./cli
8
9
+# Create s3sync image
10
+FROM debian:10
11
+COPY --from=builder /usr/local/bin/s3sync /usr/local/bin/s3sync
0 commit comments