Skip to content

Commit f38b338

Browse files
committed
Some updates
1 parent 51066ba commit f38b338

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
ARG JDK_VERSION="24"
1+
ARG JDK_VERSION="25"
2+
ARG UBUNTU_VERSION="25.10"
23

3-
FROM ubuntu:latest as builder
4+
FROM ubuntu:${UBUNTU_VERSION} as builder
45

56
RUN apt-get update; \
67
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends locales binutils; \
@@ -24,7 +25,7 @@ RUN cd /tmp/zlib-ng-zlib-ng-*; \
2425
./configure --zlib-compat; \
2526
make -j$(nproc); make install
2627

27-
FROM ubuntu:latest
28+
FROM ubuntu:${UBUNTU_VERSION}
2829
ARG JDK_VERSION
2930

3031
LABEL author="Zoë Gidiere" maintainer="duplexsys@protonmail.com"
@@ -39,7 +40,7 @@ ENV PATH=$JAVA_HOME/bin:$PATH
3940
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
4041

4142
RUN DEBIAN_FRONTEND=noninteractive apt-get update; \
42-
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils lsof curl openssl git tar sqlite3 libfreetype6 iproute2 libstdc++6 libmimalloc2.0 git-lfs tini zip unzip jq; \
43+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl wget ca-certificates fontconfig locales binutils lsof curl openssl git tar sqlite3 libfreetype6 iproute2 libstdc++6 libmimalloc2.0 git-lfs tini zip unzip jq redis-tools; \
4344
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; \
4445
locale-gen en_US.UTF-8; \
4546
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y; \
@@ -82,7 +83,7 @@ RUN echo Verifying install ...; \
8283
## Setup user and working directory
8384
RUN useradd -m -d /home/container -s /bin/bash container
8485
USER container
85-
ENV USER=container HOME=/home/container LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libmimalloc.so.2 MIMALLOC_LARGE_OS_PAGES=1
86+
ENV USER=container HOME=/home/container LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libmimalloc.so.2 MIMALLOC_ALLOW_LARGE_OS_PAGES=1 MIMALLOC_PURGE_DELAY=100
8687
WORKDIR /home/container
8788

8889
STOPSIGNAL SIGINT

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export INTERNAL_IP
3434
cd /home/container || exit 1
3535

3636
# Print Java version
37-
printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n"
37+
printf "\033[1m\033[33mcontainer~ \033[0mjava -version\n"
3838
java -version
3939

4040
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
@@ -43,7 +43,7 @@ java -version
4343
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g')
4444

4545
# Display the command we're running in the output, and then execute it with eval
46-
printf "\033[1m\033[33mcontainer@pelican~ \033[0m"
46+
printf "\033[1m\033[33mcontainer~ \033[0m"
4747
echo "$PARSED"
4848
# shellcheck disable=SC2086
4949
eval "$PARSED"

0 commit comments

Comments
 (0)