Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.4.x] Upgrade Ubuntu version to 24.04 #533

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dockerfiles/jdk17/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
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 @@ -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