We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fd88f2 commit c700e82Copy full SHA for c700e82
Dockerfile
@@ -1,7 +1,12 @@
1
FROM zeromqorg/gsl
2
3
-RUN apt-get install -y build-essential libtool autoconf automake
+RUN DEBIAN_FRONTEND=noninteractive apt-get update -y -q
4
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -q --force-yes build-essential autoconf automake libtool pkg-config
5
+
6
+COPY packaging/docker/run_zproto.sh /usr/local/bin/run_zproto.sh
7
8
COPY . /tmp/zproto
9
WORKDIR /tmp/zproto
10
RUN ( ./autogen.sh; ./configure; make check; make install )
11
+RUN rm -rf /tmp/zproto
12
+ENTRYPOINT ["run_zproto.sh"]
packaging/docker/run_zproto.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+# $BUILD_DIR points to directory holding sources
+BUILD_DIR=${BUILD_DIR-.}
+cd "$BUILD_DIR" || exit 1
+gsl "$@"
0 commit comments