This project contains base docker images for use with the NAIS platform.
Important
NAIS baseimages are not actively maintained and should be considered deprecated.
Consider using official images or preferably distroless alternatives.
Read more in the security playbook: HERE
Migration guide:
- Java: replace
FROM navikt/java:*
withFROM ghcr.io/navikt/baseimages/temurin:*
- Node: replace
FROM navikt/node-express:*
withFROM ghcr.io/navikt/baseimages/node-express:*
- Python: replace
FROM navikt/python:*
withFROM ghcr.io/navikt/baseimages/python:*
Available images from Github Container Registry
- Java
- Adoptium Temurin 8, 11, 17 & 21 https://adoptium.net/ (
java
) (18, 19 & 20 not updated
)- Ex.
FROM ghcr.io/navikt/baseimages/temurin:17
- Ex.
- Temurin with appdynamics-support, add -appdynamics suffix.
- Ex.
FROM ghcr.io/navikt/baseimages/temurin:17-appdynamics
- Ex.
- Both temurin and temurin-appdynamics builds are available for
linux/amd64
(Intel) andlinux/arm64
(Apple Silicon) platforms. - NB! The current arm64 build does not take
/dumb-init
into consideration thus this needs to be emulated at rutime on Apple machines with Apple Silicon processors.
- Adoptium Temurin 8, 11, 17 & 21 https://adoptium.net/ (
- Node
- Node 16 and 18 with Express 4 (
node-express
) (9, 12 & 14 not updated
)- Ex.
FROM ghcr.io/navikt/baseimages/node-express:18
- Ex.
- Node 16 and 18 with Express 4 (
- Python
- Python 3.8 - 3.11 (
python
) (3.7 not updated
)- Ex.
FROM ghcr.io/navikt/baseimages/python:3.11
- Ex.
- Python 3.8 - 3.11 (
Please see each baseimage README for usage and changelogs.
Issues raised and pull requests are most welcome.
Internal communication takes place at the NAV slack in the #docker channel.