2016-08-19 08:04:46 +02:00
|
|
|
FROM alpine:3.4
|
2015-07-26 01:47:36 +02:00
|
|
|
|
2016-08-19 08:04:46 +02:00
|
|
|
ENV GLIBC 2.23-r3
|
2015-07-26 01:47:36 +02:00
|
|
|
|
2016-08-19 08:04:46 +02:00
|
|
|
RUN apk update && apk add --no-cache openssl ca-certificates && \
|
|
|
|
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-glibc/master/sgerrand.rsa.pub && \
|
|
|
|
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/$GLIBC/glibc-$GLIBC.apk && \
|
|
|
|
apk add --no-cache glibc-$GLIBC.apk && rm glibc-$GLIBC.apk && \
|
|
|
|
ln -s /lib/libz.so.1 /usr/glibc-compat/lib/ && \
|
|
|
|
ln -s /lib/libc.musl-x86_64.so.1 /usr/glibc-compat/lib
|
2015-07-26 01:47:36 +02:00
|
|
|
|
2016-08-19 08:04:46 +02:00
|
|
|
COPY dist/docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
|
2015-07-26 01:47:36 +02:00
|
|
|
|
2016-08-19 08:04:46 +02:00
|
|
|
ENTRYPOINT ["docker-compose"]
|