diff --git a/dockerfiles/git-for-windows-msys2/Dockerfile b/dockerfiles/git-for-windows-msys2/Dockerfile new file mode 100644 index 0000000..7036873 --- /dev/null +++ b/dockerfiles/git-for-windows-msys2/Dockerfile @@ -0,0 +1,13 @@ +FROM golang:1.17.0-bullseye AS builder +WORKDIR /usr/src/ +RUN apt-get update && \ + apt-get install -y git +RUN git clone https://github.com/Azure/azure-storage-azcopy +RUN cd azure-storage-azcopy && git checkout v10.12.1 && go build -o azcopy + +FROM alpine:3.12 +LABEL maintainer="hongren.zheng@tuna.tsinghua.edu.cn" +COPY --from=builder /usr/src/azure-storage-azcopy/azcopy /usr/local/bin/ + +RUN mkdir -p /home/tunasync-scripts +CMD /bin/bash