Verified Commit b6fc048f authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

run container as root

parent 43589d06
Pipeline #34111 passed with stages
in 1 minute and 12 seconds
......@@ -27,300 +27,15 @@ include:
when:
- script_failure
build-latest-all-kakadu:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-all-kakadu"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--kakadu --turbojpeg --ffmpeg"
only:
- master
build-latest-all-openjpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-all-openjpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--openjpeg --turbojpeg --ffmpeg"
only:
- master
build-latest-all-grok:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-all-grok"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--grok --turbojpeg --ffmpeg"
only:
- master
build-latest-kakadu-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-kakadu-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--kakadu --ffmpeg"
only:
- master
build-latest-kakadu-turbojpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-kakadu-turbojpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--kakadu --turbojpeg"
only:
- master
build-latest-kakadu:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-kakadu"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--kakadu"
only:
- master
build-latest-openjpeg-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-openjpeg-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--openjpeg --ffmpeg"
only:
- master
build-latest-openjpeg-turbojpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-openjpeg-turbojpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--openjpeg --turbojpeg"
only:
- master
build-latest-openjpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-openjpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--openjpeg"
only:
- master
build-latest-grok-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-grok-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--grok --ffmpeg"
only:
- master
build-latest-grok-turbojpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-grok-turbojpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--grok --turbojpeg"
only:
- master
build-latest-grok:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-grok"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--grok"
only:
- master
build-latest-turbojpeg-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-turbojpeg-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--turbojpeg --ffmpeg"
only:
- master
build-latest-turbojpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-turbojpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--turbojpeg"
only:
- master
build-latest-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--ffmpeg"
only:
- master
build-latest-no-deps:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-no-deps"
IMAGE_TAG: "$CI_REGISTRY_IMAGE:latest-test-no-deps"
DOCKERFILE: "Dockerfile"
BUILD_WITH: ""
only:
- master
build-version-all-kakadu:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-all-kakadu"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--kakadu --turbojpeg --ffmpeg"
except:
- master
- tags
build-version-all-openjpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-all-openjpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--openjpeg --turbojpeg --ffmpeg"
except:
- master
- tags
build-version-all-grok:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-all-grok"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--grok --turbojpeg --ffmpeg"
except:
- master
- tags
build-version-kakadu-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-kakadu-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--kakadu --ffmpeg"
except:
- master
- tags
build-version-kakadu-turbojpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-kakadu-turbojpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--kakadu --turbojpeg"
except:
- master
- tags
build-version-kakadu:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-kakadu"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--kakadu"
except:
- master
- tags
build-version-openjpeg-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-openjpeg-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--openjpeg --ffmpeg"
except:
- master
- tags
build-version-openjpeg-turbojpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-openjpeg-turbojpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--openjpeg --turbojpeg"
except:
- master
- tags
build-version-openjpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-openjpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--openjpeg"
except:
- master
- tags
build-version-grok-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-grok-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--grok --ffmpeg"
except:
- master
- tags
build-version-grok-turbojpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-grok-turbojpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--grok --turbojpeg"
except:
- master
- tags
build-version-grok:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-grok"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--grok"
except:
- master
- tags
build-version-turbojpeg-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-turbojpeg-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--turbojpeg --ffmpeg"
except:
- master
- tags
build-version-turbojpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-turbojpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--turbojpeg"
except:
- master
- tags
build-version-ffmpeg:
extends: .build-image
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-ffmpeg"
DOCKERFILE: "Dockerfile"
BUILD_WITH: "--ffmpeg"
except:
- master
- tags
build-version-no-deps:
extends: .build-image
variables:
......
......@@ -54,6 +54,5 @@ RUN wget -q https://github.com/GrokImageCompression/grok/releases/download/v7.6.
&& dpkg -i --ignore-depends=libjpeg62-turbo --ignore-depends=libjpeg8 ./grokj2k-tools_7.6.5-1_amd64.deb
{% endif %}
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
USER cantaloupe
WORKDIR /home/cantaloupe
VOLUME ["/home/cantaloupe/images"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment