We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4eab7 commit acc9d7dCopy full SHA for acc9d7d
Dockerfile
@@ -1,13 +1,13 @@
1
-FROM ubuntu:14.04
+FROM alpine:latest
2
3
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
4
5
ARG PACKAGES="git"
6
-ARG BUILD_DEPS="build-essential autoconf automake libtool m4 libgmp-dev"
+ARG BUILD_DEPS="build-base autoconf automake libtool m4 gmp-dev"
7
8
-RUN apt-get update
9
-RUN apt-get install -y $PACKAGES
10
-RUN apt-get install -y $BUILD_DEPS
+RUN apk update
+RUN apk --no-cache --update add $PACKAGES
+RUN apk --no-cache --update add $BUILD_DEPS
11
12
# Install op-solver
13
WORKDIR /src
@@ -20,7 +20,6 @@ RUN set -x \
20
&& ../configure \
21
&& make \
22
&& make check \
23
- && make distcheck \
24
&& make install \
25
)
26
0 commit comments