-
Notifications
You must be signed in to change notification settings - Fork 50
/
Dockerfile
30 lines (26 loc) · 969 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ARG DOCKER_VERSION=latest
FROM docker:${DOCKER_VERSION}
ARG COMPOSE_VERSION=
ARG DOCKER_VERSION
ENV PATH /usr/bin:$PATH
RUN apk add --no-cache py3-pip python3
RUN apk add --no-cache --virtual \
build-dependencies \
cargo \
gcc \
libc-dev \
libffi-dev \
make \
openssl-dev \
python3-dev \
rust \
&& pip3 install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}" \
&& apk del build-dependencies
LABEL \
org.opencontainers.image.authors="Tobias Maier <tobias.maier@baucloud.com>" \
org.opencontainers.image.description="This docker image installs docker-compose on top of the docker image." \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.source="https://github.com/tmaier/docker-compose" \
org.opencontainers.image.title="Docker Compose on docker base image" \
org.opencontainers.image.vendor="BauCloud GmbH" \
org.opencontainers.image.version="${DOCKER_VERSION} with docker-compose ${COMPOSE_VERSION}"