Commit c058e53 1 parent f69ec01 commit c058e53 Copy full SHA for c058e53
File tree 3 files changed +22
-13
lines changed
3 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:jammy
1
+ FROM ubuntu:noble
2
2
3
3
ARG TARGETPLATFORM
4
4
ARG DEBIAN_FRONTEND=noninteractive
5
5
ENV LANG=en_US.utf8
6
- RUN dpkg --add-architecture armhf && \
7
- sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list && \
8
- echo "deb [arch=armhf] http://ports.ubuntu.com/ jammy main universe restricted" > /etc/apt/sources.list.d/armhf.list && \
9
- echo "deb [arch=armhf] http://ports.ubuntu.com/ jammy-updates main universe restricted" >> /etc/apt/sources.list.d/armhf.list && \
6
+ RUN dpkg --add-architecture armhf &&
7
+ rm /etc/apt/sources.list.d/ubuntu.sources && \
8
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse" > /etc/apt/sources.list && \
9
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
10
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble-security main restricted universe multiverse" >> /etc/apt/sources.list && \
11
+ echo "deb [arch=armhf] http://ports.ubuntu.com/ noble main universe restricted" >> /etc/apt/sources.list && \
12
+ echo "deb [arch=armhf] http://ports.ubuntu.com/ noble-updates main universe restricted" >> /etc/apt/sources.list && \
10
13
apt-get update && \
11
14
apt-get install -y locales && \
12
15
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:jammy
1
+ FROM ubuntu:noble
2
2
3
3
ARG TARGETPLATFORM
4
4
ARG DEBIAN_FRONTEND=noninteractive
5
5
ENV LANG=en_US.utf8
6
6
RUN dpkg --add-architecture ppc64el && \
7
- sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list && \
8
- echo "deb [arch=ppc64el] http://ports.ubuntu.com/ jammy main universe restricted" > /etc/apt/sources.list.d/ppc64le.list && \
9
- echo "deb [arch=ppc64el] http://ports.ubuntu.com/ jammy-updates main universe restricted" >> /etc/apt/sources.list.d/ppc64le.list && \
7
+ rm /etc/apt/sources.list.d/ubuntu.sources && \
8
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse" > /etc/apt/sources.list && \
9
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
10
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble-security main restricted universe multiverse" >> /etc/apt/sources.list && \
11
+ echo "deb [arch=ppc64el] http://ports.ubuntu.com/ noble main universe restricted" >> /etc/apt/sources.list && \
12
+ echo "deb [arch=ppc64el] http://ports.ubuntu.com/ noble-updates main universe restricted" >> /etc/apt/sources.list && \
10
13
apt-get update && \
11
14
apt-get install -y locales && \
12
15
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:jammy
1
+ FROM ubuntu:noble
2
2
3
3
ARG TARGETPLATFORM
4
4
ARG DEBIAN_FRONTEND=noninteractive
5
5
ENV LANG=en_US.utf8
6
6
RUN dpkg --add-architecture s390x && \
7
- sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list && \
8
- echo "deb [arch=s390x] http://ports.ubuntu.com/ jammy main universe restricted" > /etc/apt/sources.list.d/armhf.list && \
9
- echo "deb [arch=s390x] http://ports.ubuntu.com/ jammy-updates main universe restricted" >> /etc/apt/sources.list.d/armhf.list && \
7
+ rm /etc/apt/sources.list.d/ubuntu.sources && \
8
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse" > /etc/apt/sources.list && \
9
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
10
+ echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu noble-security main restricted universe multiverse" >> /etc/apt/sources.list && \
11
+ echo "deb [arch=s390x] http://ports.ubuntu.com/ noble main universe restricted" >> /etc/apt/sources.list && \
12
+ echo "deb [arch=s390x] http://ports.ubuntu.com/ noble-updates main universe restricted" >> /etc/apt/sources.list && \
10
13
apt-get update && \
11
14
apt-get install -y locales && \
12
15
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
You can’t perform that action at this time.
0 commit comments