Skip to content

Commit

Permalink
TEST/MINOR: docker: upgrade docker for dind and add seccomp option
Browse files Browse the repository at this point in the history
  • Loading branch information
mjuraga committed Jan 22, 2024
1 parent cd89926 commit 31cba92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ build:
name: $CI_REGISTRY_GO/docker:stable
entrypoint: [ "" ]
services:
- name: $CI_REGISTRY_GO/docker:20.10.5-dind
- name: $CI_REGISTRY_GO/docker:24.0-dind
alias: docker
variables:
LOCAL_IP_ADDRESS: docker
Expand Down
2 changes: 1 addition & 1 deletion e2e/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ major="${version_parts[0]}"
minor="${version_parts[1]}"

if [[ "$major" -eq "2" && "$minor" -ge "7" || "$major" -gt "2" ]] ; then
echo "Running<<<<<<<<<<< master socket"
HAPROXY_FLAGS="-W -db -S /var/lib/haproxy/master -f /usr/local/etc/haproxy/haproxy.cfg"
VARIANT="-master-socket"
fi
Expand All @@ -63,6 +62,7 @@ else
--detach \
--name ${DOCKER_CONTAINER_NAME} \
--publish "${E2E_PORT}":8080 \
--security-opt seccomp=unconfined \
"${DOCKER_BASE_IMAGE}" $HAPROXY_FLAGS > /dev/null 2>&1
docker cp "${ROOT_DIR}/build/dataplaneapi" ${DOCKER_CONTAINER_NAME}:/usr/local/bin/dataplaneapi
docker cp "${E2E_DIR}/fixtures/dataplaneapi${VARIANT}.yaml" ${DOCKER_CONTAINER_NAME}:/etc/haproxy/dataplaneapi.yaml
Expand Down

0 comments on commit 31cba92

Please sign in to comment.