forked from bamarni/pi64
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (29 loc) · 789 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ubuntu:17.10
ENV GOPATH=/go PATH=/go/bin:/usr/lib/go-1.8/bin:$PATH
RUN apt-get update \
&& apt-get -y install \
bc \
build-essential \
cmake \
device-tree-compiler \
gcc-aarch64-linux-gnu \
g++-aarch64-linux-gnu \
git \
unzip \
qemu-user-static \
multistrap \
zip \
wget \
dosfstools \
kpartx \
golang-1.8-go \
rsync \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& go get \
github.com/aktau/github-release \
github.com/cheggaaa/pb \
golang.org/x/crypto/openpgp
WORKDIR $GOPATH/src/github.com/bamarni/pi64
COPY . $GOPATH/src/github.com/bamarni/pi64
RUN go install github.com/bamarni/pi64/cmd/pi64-build