mirror of
https://github.com/VSCodium/vscode-linux-build-agent.git
synced 2025-12-11 05:45:40 -06:00
feat: add centos7-devtoolset8-ppc64le for reh
This commit is contained in:
parent
5045b18d75
commit
80a092655c
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -22,13 +22,14 @@ jobs:
|
||||
- focal-ppc64le
|
||||
- centos7-devtoolset8-arm32v7
|
||||
- centos7-devtoolset8-arm64
|
||||
- centos7-devtoolset8-ppc64le
|
||||
- centos7-devtoolset8-x64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
if: matrix.arch == 'centos7-devtoolset8-arm32v7' || matrix.arch == 'centos7-devtoolset8-arm64' || matrix.arch == 'centos7-devtoolset8-ppc64le' || matrix.arch == 'alpine-arm64'
|
||||
if: matrix.arch == 'centos7-devtoolset8-arm32v7' || matrix.arch == 'centos7-devtoolset8-arm64' || matrix.arch == 'centos7-devtoolset8-ppc64le' || matrix.arch == 'centos7-devtoolset8-ppc64le' || matrix.arch == 'alpine-arm64'
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
35
centos7-devtoolset8-ppc64le/Dockerfile
Normal file
35
centos7-devtoolset8-ppc64le/Dockerfile
Normal file
@ -0,0 +1,35 @@
|
||||
FROM ppc64le/centos:centos7
|
||||
|
||||
ARG INSTALL_PKGS="devtoolset-8-gcc \
|
||||
devtoolset-8-gcc-c++ \
|
||||
devtoolset-8-gcc-gfortran \
|
||||
devtoolset-8-gdb \
|
||||
make \
|
||||
git \
|
||||
unzip \
|
||||
sudo \
|
||||
libsecret-devel \
|
||||
krb5-devel \
|
||||
nodejs \
|
||||
python3"
|
||||
|
||||
# setup nodejs repo
|
||||
RUN curl --silent --location https://rpm.nodesource.com/setup_16.x | bash -
|
||||
|
||||
RUN yum install -y centos-release-scl-rh && \
|
||||
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
|
||||
rpm -V $INSTALL_PKGS && \
|
||||
yum -y clean all --enablerepo='*'
|
||||
|
||||
# update npm and install yarn, node-gyp
|
||||
RUN npm install -g yarn node-gyp
|
||||
|
||||
# jq (VSCodium)
|
||||
RUN curl -L -O https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
|
||||
chmod +x jq-linux64 && \
|
||||
mv jq-linux64 /usr/bin/jq
|
||||
|
||||
ENV PATH=/opt/rh/devtoolset-8/root/usr/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
|
||||
RUN mkdir -p /root/vscode
|
||||
WORKDIR /root/vscode
|
||||
Loading…
x
Reference in New Issue
Block a user