forked from bamarni/pi64
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (24 loc) · 686 Bytes
/
Copy pathDockerfile
File metadata and controls
29 lines (24 loc) · 686 Bytes
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
FROM ubuntu:17.04
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 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV GOPATH=/go PATH=/go/bin:/usr/lib/go-1.8/bin:$PATH
WORKDIR $GOPATH/src/github.com/bamarni/pi64
COPY . $GOPATH/src/github.com/bamarni/pi64
RUN go install github.com/bamarni/pi64/cmd/pi64-build && go get github.com/aktau/github-release