forked from containers/skopeo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. LookupId panics on Linux+glibc static build (golang/go#24787) 2. Updated go version to 1.11.0 in Dockerfile.build 3. added go build tags netgo osusergo in static binary Signed-off-by: vijaysamanuri <vijay.samanuri@wavemaker.com>
- Loading branch information
1 parent
6307635
commit 0e98dfe
Showing
2 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
FROM ubuntu:18.10 | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
golang \ | ||
libbtrfs-dev \ | ||
RUN apt-get update && apt-get install -y wget | ||
RUN wget -P /tmp/ https://dl.google.com/go/go1.11.linux-amd64.tar.gz && \ | ||
tar -xvf /tmp/go1.11.linux-amd64.tar.gz -C /usr/local/ | ||
|
||
ENV GOROOT /usr/local/go | ||
ENV GOPATH / | ||
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH | ||
|
||
RUN apt-get install -y libbtrfs-dev \ | ||
git-core \ | ||
libdevmapper-dev \ | ||
libgpgme11-dev \ | ||
go-md2man \ | ||
libglib2.0-dev \ | ||
libostree-dev | ||
|
||
ENV GOPATH=/ | ||
WORKDIR /src/github.com/containers/skopeo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters