diff options
| author | kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> | 2024-04-19 21:27:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-19 21:27:10 -0700 |
| commit | 8362c2d46e2da0c20fbd3daf511ccdf425f9a1f0 (patch) | |
| tree | 5f4eb50535acb6b6dda589c4697817860fbc9ca4 /.github/workflows/dockerfiles | |
| parent | beae3a9d219dac1e4e3da9c357b25d06370388f3 (diff) | |
Create a new release build for linux_x64. (#3989)
Diffstat (limited to '.github/workflows/dockerfiles')
| -rw-r--r-- | .github/workflows/dockerfiles/ubuntu-18.04-x64/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/dockerfiles/ubuntu-18.04-x64/Dockerfile b/.github/workflows/dockerfiles/ubuntu-18.04-x64/Dockerfile new file mode 100644 index 000000000..bbdfe1084 --- /dev/null +++ b/.github/workflows/dockerfiles/ubuntu-18.04-x64/Dockerfile @@ -0,0 +1,15 @@ +FROM ubuntu:18.04 +RUN apt update +RUN apt install -y software-properties-common wget git build-essential zip libx11-dev zlib1g-dev +RUN add-apt-repository ppa:ubuntu-toolchain-r/test -y +RUN apt update +RUN apt install -y gcc-9 g++-9 +RUN update-alternatives \ + --install /usr/bin/gcc gcc /usr/bin/gcc-9 100 \ + --slave /usr/bin/g++ g++ /usr/bin/g++-9 \ + --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-9 \ + --slave /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-9 \ + --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-9 \ + --slave /usr/bin/gcov gcov /usr/bin/gcov-9 \ + --slave /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-9 \ + --slave /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-9 |
