Commit 0a10a11a authored by Heimo Stranner's avatar Heimo Stranner
Browse files

cleanup

parent fa4e9ec2
Loading
Loading
Loading
Loading
+0 −35
Original line number Diff line number Diff line
@@ -43,29 +43,6 @@ build-gitinspector:
    DIR: gitinspector
    NAME: gitinspector

build-node-non-root-18:
  extends: .build-base
  variables:
    DIR: node-non-root-18
    NAME: node-non-root-18

build-node-non-root-20:
  extends: .build-base
  variables:
    DIR: node-non-root-20
    NAME: node-non-root-20

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

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

build-coder:
  extends: .build-base
@@ -86,24 +63,12 @@ build-coder:
  only:
    - master

sync-temurin-17:
  extends: .mirror-base
  variables:
    FROM: docker.io/library/eclipse-temurin:21
    TO: eclipse-temurin:17

sync-temurin-21:
  extends: .mirror-base
  variables:
    FROM: docker.io/library/eclipse-temurin:21
    TO: eclipse-temurin:21

sync-jdk-21:
  extends: .mirror-base
  variables:
    FROM: docker.io/library/amazoncorretto:21-alpine-jdk
    TO: jdk:21

sync-kubectl:
  extends: .mirror-base
  variables:
+1 −32
Original line number Diff line number Diff line
@@ -6,35 +6,6 @@ If you find yourself installing packages in a stock docker image during your bui

## Custom images

### Node 18 rootless

`registry.reset.inso-w.at/pub/docker/node-non-root-18` is based on the node:18 image but adds a user `build` and sets it as the default user. This is done primarily to prevent things like `npm ci` to run into errors like

`
npm ERR! code EPERM
npm ERR! syscall spawn
npm ERR! errno -1
npm ERR! Error: spawn EPERM
`

### Node 20 rootless

`registry.reset.inso-w.at/pub/docker/node-non-root-20` is based on the node:20 image but adds a user `build` and sets it as the default user. This is done primarily to prevent things like `npm ci` to run into errors like

`
npm ERR! code EPERM
npm ERR! syscall spawn
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.

### Maven 3 JDK 21 rootless

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

### Custom cypress image

@@ -75,7 +46,5 @@ A simple debian based maven installation with maven and jdk 21.

|local name  |mirrored from  |livespan       |
|------------|---------------|---------------|
|registry.reset.inso-w.at/pub/docker/jdk:21 | amazoncorretto:21-alpine-jdk | will be be kept until at least 2024-02-01 |
|registry.reset.inso-w.at/pub/docker/eclipse-temurin:17 | eclipse-temurin:21 | will be be kept until at least 2024-02-01 |
|registry.reset.inso-w.at/pub/docker/eclipse-temurin:21 | eclipse-temurin:21 | will be be kept until at least 2024-08-01 |
|registry.reset.inso-w.at/pub/docker/kubectl | bitnami/kubectl | will be kept until at least 2024-02-01 |
|registry.reset.inso-w.at/pub/docker/kubectl | bitnami/kubectl | will be kept until at least 2025-02-01 |

mvn-non-root-17/Dockerfile

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
FROM docker.io/library/maven:3-openjdk-17
RUN useradd -m build
USER build

mvn-non-root-21/Dockerfile

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
FROM docker.io/library/maven:3-eclipse-temurin-21
RUN git config --global --add safe.directory /builds/
RUN useradd -m build
USER build
RUN git config --global --add safe.directory /builds/

node-non-root-18/Dockerfile

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
FROM node:18
RUN useradd -m build
USER build
Loading