Skip to content

Commit acc9d7d

Browse files
committed
Use Alpine as the base Docker image (#6)
1 parent 2e4eab7 commit acc9d7d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Dockerfile

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM ubuntu:14.04
1+
FROM alpine:latest
22

33
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
44

55
ARG PACKAGES="git"
6-
ARG BUILD_DEPS="build-essential autoconf automake libtool m4 libgmp-dev"
6+
ARG BUILD_DEPS="build-base autoconf automake libtool m4 gmp-dev"
77

8-
RUN apt-get update
9-
RUN apt-get install -y $PACKAGES
10-
RUN apt-get install -y $BUILD_DEPS
8+
RUN apk update
9+
RUN apk --no-cache --update add $PACKAGES
10+
RUN apk --no-cache --update add $BUILD_DEPS
1111

1212
# Install op-solver
1313
WORKDIR /src
@@ -20,7 +20,6 @@ RUN set -x \
2020
&& ../configure \
2121
&& make \
2222
&& make check \
23-
&& make distcheck \
2423
&& make install \
2524
)
2625

0 commit comments

Comments
 (0)