Verified Commit 4b8af6ad authored by Nikos Chantziaras's avatar Nikos Chantziaras
Browse files

Add Dockerfile.dosbox_core

parent 6f9444ee
Pipeline #4026 passed with stage
in 2 minutes and 43 seconds
......@@ -9,6 +9,8 @@ docker-build-master:
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
- docker build --pull -t "$CI_REGISTRY_IMAGE:dosbox-core" --file Dockerfile.dosbox-core .
- docker push "$CI_REGISTRY_IMAGE:dosbox-core"
only:
- master
......@@ -23,5 +25,7 @@ docker-build:
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-dosbox-core" --file Dockerfile.dosbox-core .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-dosbox-core"
except:
- master
FROM git.libretro.com:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
# Install deps.
RUN \
set -eux; \
cd /tmp; \
export DEBIAN_FRONTEND='noninteractive'; \
apt-get -y update; \
apt-get -y dist-upgrade; \
apt-get -y --no-install-recommends install \
software-properties-common \
wget \
; \
add-apt-repository -y --update ppa:ubuntu-toolchain-r/test; \
apt-get -y --no-install-recommends install \
autoconf \
automake \
build-essential \
g++-9 \
gcc-9 \
git \
libasound2-dev \
libglu1-mesa-dev \
libltdl-dev \
libtool \
mesa-common-dev \
pkg-config \
python3-pip \
unzip \
; \
apt-get -y autoremove; \
apt-get -y clean; \
rm -rf /var/lib/apt/lists/*; \
wget -q 'https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-Linux-x86_64.sh'; \
sh ./cmake-3.18.4-Linux-x86_64.sh --skip-license --prefix=/usr/local; \
rm cmake-3.18.4-Linux-x86_64.sh; \
python3 -m pip install --upgrade --no-cache-dir pip; \
python3 -m pip install --no-cache-dir meson; \
wget -q 'https://github.com/ninja-build/ninja/releases/download/v1.10.1/ninja-linux.zip';\
unzip ninja-linux.zip; \
rm ninja-linux.zip; \
mv ninja /usr/local/bin/;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment