Commit 1ae3cfab authored by Heimo Stranner's avatar Heimo Stranner
Browse files

add mvn rootless

parent e802a9a9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -55,6 +55,12 @@ build-node-non-root-18:
    DIR: node-non-root-18
    NAME: node-non-root-18

build-mvn-non-root-17:
  extends: .build-base
  variables:
    DIR: mvn-non-root-17
    NAME: mvn-non-root-17

.mirror-base:
  stage: build
  resource_group: lock_docker_build_$FROM_$TO
+4 −0
Original line number Diff line number Diff line
@@ -17,6 +17,10 @@ npm ERR! errno -1
npm ERR! Error: spawn EPERM
`

### Maven 3 JDK 17 rootless

`registry.reset.inso-w.at/pub/docker/mvn-non-root-17` is based on the mvn:3-openjdk-17 image but adds a user `build` and sets it as the default user.

### Custom cypress image

The stock cypress base image is based on debian 10, ours is based on debian 11 so we can install version 17 of the openjdk.
+3 −0
Original line number Diff line number Diff line
FROM mvn:3-openjdk-17
RUN useradd -m build
USER build