Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit d246f8a

Browse files
committed
Adding docker-compose
1 parent f3db267 commit d246f8a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
FROM docker/compose:alpine-1.25.5 as compose
2+
13
FROM alpine:3.11
24

3-
ARG DOCKER_VERSION=18.06.3-ce
45
ARG HELM_VERSION=3.2.0
56
ARG KUBECTL_VERSION=1.18.2
67
ARG AWS_IAM_AUTH_VERSION=0.5.0
@@ -17,9 +18,10 @@ WORKDIR /tmp
1718
RUN apk add --update --no-cache --virtual .build-deps curl ca-certificates
1819

1920
# Install docker
20-
RUN curl -L https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz | tar xz && \
21-
mv docker/docker /usr/local/bin/docker && \
22-
chmod +x /usr/local/bin/docker
21+
COPY --from=compose /usr/local/bin/docker /usr/local/bin/docker
22+
23+
# Install docker-compose
24+
COPY --from=compose /usr/local/bin/docker-compose /usr/local/bin/docker-compose
2325

2426
# Install kubectl
2527
RUN curl -L https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \

0 commit comments

Comments
 (0)