Skip to content

Commit ac497e9

Browse files
committed
fix: properly adjust Dockerfile
1 parent 92bb8f9 commit ac497e9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docker/app/Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@ FROM postgres:16.8
22

33
ENTRYPOINT []
44

5-
RUN apk --no-cache add openjdk21
6-
RUN apk --no-cache add "libxml2>=2.13.4-r5"
5+
RUN <<EOF
6+
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+
apt -qq update
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
716

817
#############
918
### Tolgee #

0 commit comments

Comments
 (0)