Skip to content

Commit

Permalink
Merge pull request #532 from HeshanSudarshana/4.3.x-jdk-11-bump
Browse files Browse the repository at this point in the history
[4.3.x] Upgrade Ubuntu version to 24.04
  • Loading branch information
HeshanSudarshana authored Nov 23, 2024
2 parents df7a11b + 3f7b845 commit c80a3f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/jdk21/ubuntu/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'

# install dependencies
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales python-is-python3 libxml2-utils netcat unzip wget \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales python-is-python3 libxml2-utils netcat-traditional unzip wget \
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.UTF-8 \
&& rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -113,7 +113,7 @@ RUN \
&& rm -f ${WSO2_SERVER}.zip

# remove unnecesary packages
RUN apt-get purge -y netcat unzip wget
RUN apt-get purge -y netcat-traditional unzip wget

# set the user and work directory
USER ${USER_ID}
Expand Down
6 changes: 3 additions & 3 deletions dockerfiles/ubuntu/apim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
# ------------------------------------------------------------------------

# set base Docker image to Ubuntu
FROM ubuntu:22.04
FROM ubuntu:24.04

ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'

# install dependencies
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales python-is-python3 libxml2-utils netcat unzip wget \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata curl ca-certificates fontconfig locales python-is-python3 libxml2-utils netcat-traditional unzip wget \
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.UTF-8 \
&& rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -116,7 +116,7 @@ RUN \
&& rm -f ${WSO2_SERVER}.zip

# remove unnecesary packages
RUN apt-get purge -y netcat unzip wget
RUN apt-get purge -y netcat-traditional unzip wget

# set the user and work directory
USER ${USER_ID}
Expand Down

0 comments on commit c80a3f4

Please sign in to comment.