File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ test_docker_image() {
40
40
41
41
echo " --- :hammer: Testing $image_tag has docker-compose"
42
42
docker run --rm --entrypoint " docker-compose" " $image_tag " --version
43
+
44
+ echo " --- :hammer: Testing $image_tag has docker compose v2"
45
+ docker run --rm --entrypoint " docker" " $image_tag " compose version
43
46
}
44
47
45
48
push_docker_image () {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
20
20
&& add-apt-repository \
21
21
"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
22
22
&& apt-get update \
23
- && apt-get install -y --no-install-recommends docker-ce-cli \
23
+ && apt-get install -y --no-install-recommends docker-ce-cli docker-compose-plugin \
24
24
&& rm -rf /var/lib/apt/lists/*
25
25
26
26
RUN curl -Lfs -o /sbin/tini https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini \
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
20
20
&& add-apt-repository \
21
21
"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
22
22
&& apt-get update \
23
- && apt-get install -y --no-install-recommends docker-ce-cli \
23
+ && apt-get install -y --no-install-recommends docker-ce-cli docker-compose-plugin \
24
24
&& rm -rf /var/lib/apt/lists/*
25
25
26
26
RUN curl -Lfs -o /sbin/tini https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini \
You can’t perform that action at this time.
0 commit comments