A Dockerfile to facilitate building in a container
This commit is contained in:
1 parent
949afd9c20
commit
b1ac63cae6
2 files changed
+50
No files matched your search
@@ -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"]
|
||||
Reference in new issue
Block a user