Twiddle the Dockerfile in an attempt to get it building.

This commit is contained in:
David Anderson 2016-08-23 23:19:40 -07:00
parent 60831bcf13
commit 50df31a5a5

View File

@ -7,8 +7,12 @@ RUN \
echo "http://dl-4.alpinelinux.org/alpine/edge/community" >>/etc/apk/repositories &&\
apk -U add ca-certificates git go gcc musl-dev &&\
apk upgrade &&\
go get go.universe.tf/netboot/cmd/pixiecore &&\
cp /tmp/go/bin/pixiecore /pixiecore &&\
cd /tmp/go/src/go.universe.tf/netboot &&\
go get -v . &&\
cd cmd/pixiecore &&\
go build . &&\
cp pixiecore /pixiecore &&\
cd / &&\
rm -rf /tmp/go &&\
apk del git go gcc musl-dev &&\
rm -rf /var/cache/apk/*