Skip to content

Commit

Permalink
dockerfile: disable CGO (#256)
Browse files Browse the repository at this point in the history
Fixes #250
  • Loading branch information
seruman authored Dec 3, 2020
1 parent 3e5ff3c commit 92785ff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## not released yet


## v1.2.1 - 2 Dec 2020

#### Improvements

- Statically link `s5cmd` in Docker image ([#250](https://github.com/peak/s5cmd/issues/250))

## v1.2.0 - 5 Nov 2020

With this release, `s5cmd` automatically determines region information of destination buckets.
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM golang:1.14-alpine as build
FROM golang:1.15-alpine as build
COPY . /s5cmd/
RUN apk add --no-cache git make && \
cd /s5cmd/ && \
make build
CGO_ENABLED=0 make build

FROM alpine:3.12
COPY --from=build /s5cmd/s5cmd .
Expand Down

0 comments on commit 92785ff

Please sign in to comment.