Skip to content

Commit

Permalink
Upgrade docker in behat test docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
pablothedude committed Nov 4, 2024
1 parent 4660121 commit 6395d41
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions stepup/tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
FROM ghcr.io/openconext/openconext-basecontainers/php72-apache2-node16-composer2:latest
RUN apt-get update && \
apt-get install -y docker.io mariadb-client
RUN apt-get update && \
apt-get install -y mariadb-client && \
apt-get install -y ca-certificates curl && \
install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && \
chmod a+r /etc/apt/keyrings/docker.asc && \
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null && \
apt-get update && \
apt install -y docker-ce docker-ce-cli containerd.io

WORKDIR /config/tests/behat

0 comments on commit 6395d41

Please sign in to comment.