-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a95a116
commit 3ed1c78
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,11 +1,15 @@ | ||
FROM debian:buster-slim | ||
ENV GOPATH /go | ||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y --no-install-recommends \ | ||
llvm clang libbpf-dev linux-headers-amd64 make binutils git file iproute2 golang-go ca-certificates && \ | ||
apt-get purge --auto-remove && \ | ||
apt-get clean && \ | ||
mkdir -p /src /go && \ | ||
go get -u github.com/gobuffalo/packr/v2/packr2 && \ | ||
rm -rf /go/src | ||
apt-get upgrade -y && \ | ||
apt-get install -y --no-install-recommends \ | ||
llvm clang libbpf-dev linux-headers-amd64 make binutils git file iproute2 golang-go ca-certificates gcc && \ | ||
apt-get purge --auto-remove && \ | ||
apt-get clean | ||
ENV GO111MODULE=on | ||
RUN mkdir -p /src /go/src/github.com/gobuffalo/ && \ | ||
cd /go/src/github.com/gobuffalo && \ | ||
git clone --branch=v2.5.2 https://github.com/gobuffalo/packr.git && \ | ||
cd /go/src/github.com/gobuffalo/packr/v2/packr2 && \ | ||
go install . && \ | ||
rm -rf /go/src |