mirror of
https://github.com/VSCodium/vscode-linux-build-agent.git
synced 2025-12-10 21:07:27 -06:00
feat(loong64): use beige as base image (#26)
This commit is contained in:
parent
b98413008d
commit
5416f1b9ee
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -12,6 +12,8 @@ jobs:
|
|||||||
arch:
|
arch:
|
||||||
- alpine-arm64
|
- alpine-arm64
|
||||||
- alpine-x64
|
- alpine-x64
|
||||||
|
- beige-loong64
|
||||||
|
- beige-devtoolset-loong64
|
||||||
# - bionic-devtoolset-ppc64le
|
# - bionic-devtoolset-ppc64le
|
||||||
- focal-arm64
|
- focal-arm64
|
||||||
- focal-armhf
|
- focal-armhf
|
||||||
@ -24,8 +26,6 @@ jobs:
|
|||||||
- focal-devtoolset-riscv64
|
- focal-devtoolset-riscv64
|
||||||
- focal-devtoolset-s390x
|
- focal-devtoolset-s390x
|
||||||
- focal-devtoolset-x64
|
- focal-devtoolset-x64
|
||||||
# - trixie-loong64
|
|
||||||
- trixie-devtoolset-loong64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
ARG REPO=loongarch64/debian
|
ARG REPO=linuxdeepin/deepin
|
||||||
ARG TAG=latest
|
ARG TAG=beige-loong64-v1.4.0
|
||||||
FROM ${REPO}:${TAG}
|
FROM ${REPO}:${TAG}
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
ARG NODE_VERSION="20.16.0"
|
ARG NODE_VERSION="20.16.0"
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN echo 'deb http://mirrors.kernel.org/deepin/beige beige main commercial community' > /etc/apt/sources.list && \
|
||||||
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
binutils \
|
binutils \
|
||||||
build-essential \
|
build-essential \
|
||||||
git \
|
git \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
fakeroot \
|
fakeroot \
|
||||||
rpm \
|
|
||||||
sudo \
|
sudo \
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
@ -1,5 +1,5 @@
|
|||||||
ARG REPO=debian
|
ARG REPO=linuxdeepin/deepin
|
||||||
ARG TAG=unstable
|
ARG TAG=beige-amd64-v1.4.0
|
||||||
FROM ${REPO}:${TAG}
|
FROM ${REPO}:${TAG}
|
||||||
|
|
||||||
ARG DOCKER_CE_VERSION=27.3.1
|
ARG DOCKER_CE_VERSION=27.3.1
|
||||||
@ -10,19 +10,19 @@ ARG DOCKER_CE_VERSION=27.3.1
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN dpkg --add-architecture loong64 && \
|
RUN dpkg --add-architecture loong64 && \
|
||||||
|
echo 'deb [arch=amd64,i386,loong64] http://mirrors.kernel.org/deepin/beige beige main commercial community' > /etc/apt/sources.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y debian-ports-archive-keyring && \
|
# --force-overwrite to work around a strange error:
|
||||||
echo "deb [arch=loong64] http://ftp.ports.debian.org/debian-ports sid main" >> /etc/apt/sources.list && \
|
# dpkg: error processing archive /tmp/apt-dpkg-install-sG9gCG/20-linux-libc-dev_23.01.01.18_amd64.deb (--unpack):
|
||||||
apt-get update && \
|
# trying to overwrite shared '/usr/share/doc/linux-libc-dev/changelog.gz', which is different from other instances of package linux-libc-dev:amd64
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y -f -o Dpkg::Options::="--force-overwrite" --no-install-recommends \
|
||||||
gcc-14-loongarch64-linux-gnu \
|
gcc-12-loongarch64-linux-gnu \
|
||||||
g++-14-loongarch64-linux-gnu \
|
g++-12-loongarch64-linux-gnu \
|
||||||
binutils-loongarch64-linux-gnu \
|
binutils-loongarch64-linux-gnu \
|
||||||
build-essential \
|
build-essential \
|
||||||
git \
|
git \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
fakeroot \
|
fakeroot \
|
||||||
rpm \
|
|
||||||
sudo \
|
sudo \
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
@ -63,8 +63,8 @@ RUN gcc --version && \
|
|||||||
|
|
||||||
ENV AS=/usr/bin/loongarch64-linux-gnu-as \
|
ENV AS=/usr/bin/loongarch64-linux-gnu-as \
|
||||||
AR=/usr/bin/loongarch64-linux-gnu-ar \
|
AR=/usr/bin/loongarch64-linux-gnu-ar \
|
||||||
CC=/usr/bin/loongarch64-linux-gnu-gcc-14 \
|
CC=/usr/bin/loongarch64-linux-gnu-gcc-12 \
|
||||||
CPP=/usr/bin/loongarch64-linux-gnu-cpp-14 \
|
CPP=/usr/bin/loongarch64-linux-gnu-cpp-12 \
|
||||||
CXX=/usr/bin/loongarch64-linux-gnu-g++-14 \
|
CXX=/usr/bin/loongarch64-linux-gnu-g++-12 \
|
||||||
LD=/usr/bin/loongarch64-linux-gnu-ld \
|
LD=/usr/bin/loongarch64-linux-gnu-ld \
|
||||||
PKG_CONFIG_PATH=/usr/lib/loongarch64-linux-gnu/pkgconfig
|
PKG_CONFIG_PATH=/usr/lib/loongarch64-linux-gnu/pkgconfig
|
||||||
Loading…
x
Reference in New Issue
Block a user