Closed antyung88 closed 1 year ago
fixed by: https://github.com/docker-slim/docker-slim/issues/129
updated script:
- script -q -c "./dist_linux/docker-slim build --sensor-ipc-mode proxy --target $CI_REGISTRY_IMAGE:$tag --http-probe=false --include-path /bin --include-path /usr/bin --tag $CI_REGISTRY_IMAGE:slim trademark;"
Expected Behavior
curl dockerslim release and execute in gitlab-ci -- using gitlab.com shared runners
Actual Behavior
wait timeout
Steps to Reproduce the Problem
.gitlab-ci.yml ``` .vars_docker: variables: tag: latest .docker-build: stage: docker-build variables: ! reference [.vars_docker, variables] script: # any image - docker build . -t $CI_REGISTRY_IMAGE:$tag # slim-build - apk add --no-cache curl util-linux tar - curl -L -O https://downloads.dockerslim.com/releases/1.39.0/dist_linux.tar.gz - tar -zxvf dist_linux.tar.gz - script -q -c "./dist_linux/docker-slim --debug version" - script -q -c "./dist_linux/docker-slim build --target $CI_REGISTRY_IMAGE:$tag --http-probe=false --include-path /bin --include-path /usr/bin --tag $CI_REGISTRY_IMAGE:slim" docker-build: extends: .docker-build when: manual needs: [] stages: - docker-build ``` --- Specifications ================= - Version: 1.39.0 - Platform: gitlab.com