A Dockerfile to facilitate building in a container

This commit is contained in:
David Wragg committed 2015-02-10 16:45:53 +00:00
1 parent 949afd9c20
commit b1ac63cae6
2 files changed
+50

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
FROM ubuntu
# After installing the prerequisite we clear out sources.list so that
# 'apt-get update' doesn't do anything.
RUN sh -c 'apt-get -y update && apt-get -y install --no-install-recommends build-essential git ca-certificates golang docker.io mercurial libpcap-dev curl make pkg-config gcc bison flex && echo >/etc/apt/sources.list'
COPY build.sh /
ENTRYPOINT ["sh", "/build.sh"]