We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92bb8f9 commit ac497e9Copy full SHA for ac497e9
docker/app/Dockerfile
@@ -2,8 +2,17 @@ FROM postgres:16.8
2
3
ENTRYPOINT []
4
5
-RUN apk --no-cache add openjdk21
6
-RUN apk --no-cache add "libxml2>=2.13.4-r5"
+RUN <<EOF
+ set -eux
7
+ apt -qq update
8
+ apt -qq -y install wget
9
+ wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null
10
+ echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
11
12
+ apt -qq -y install temurin-21-jdk libxml2
13
+ apt -qq -y remove wget --purge --auto-remove
14
+ rm -rf /var/lib/apt/lists/*
15
+EOF
16
17
#############
18
### Tolgee #
0 commit comments