Skip to content

Commit

Permalink
Fix force mode for s3sync
Browse files Browse the repository at this point in the history
  • Loading branch information
onorua committed Mar 12, 2019
1 parent bf1cb96 commit cf5f794
Show file tree
Hide file tree
Showing 1,548 changed files with 107 additions and 745,448 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM golang:1.10-alpine3.7 as builder
FROM golang:1.12-alpine3.9 as builder

ENV GO111MODULE=on
RUN apk add --no-cache curl git
COPY . /go/src/github.com/anchorfree/s3sync
RUN cd /go/src/github.com/anchorfree/s3sync && CGO_ENABLED=0 GOOS=linux go build -o /build/s3sync .
RUN cd /go/src/github.com/anchorfree/s3sync && go mod download && CGO_ENABLED=0 GOOS=linux go build -o /build/s3sync .


FROM alpine:3.7
FROM alpine:3.9
LABEL maintainer="v.zorin@anchorfree.com"

RUN apk add --no-cache ca-certificates curl netcat-openbsd
Expand Down
381 changes: 0 additions & 381 deletions Gopkg.lock

This file was deleted.

Loading

0 comments on commit cf5f794

Please sign in to comment.