Sélectionner une révision Git
Dockerfile 1,49 Kio
FROM debian:stable
COPY files/sources.list /etc/apt/sources.list
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y apt-utils
RUN apt-get upgrade -y
RUN apt-get install -y make autoconf qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libavutil-dev libavcodec-dev libavformat-dev libmpv-dev cmake clang clang-format gcc g++ libomp-dev libsdl2-dev libsdl2-image-dev xxd mkvtoolnix libcurl4-openssl-dev libsqlite3-dev manpages build-essential man-db python3 python3-pip php wget ca-certificates curl gnupg openssh-client git iputils-ping qt6-base-dev qt6-declarative-dev qt6-multimedia-dev lsb-release
# Node
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt-get install -y nodejs
# https://github.com/nodejs/corepack/issues/447
RUN npm install -g corepack@0.24.1
RUN corepack enable
RUN yarn config set proxy http://proxy.runner.iiens.net:3128
RUN yarn config set https-proxy http://proxy.runner.iiens.net:3128
ENV RUSTUP_HOME=/opt/rust
ENV CARGO_HOME=/opt/rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
RUN chmod +x ./rustup.sh
RUN ./rustup.sh -y --no-modify-path
COPY files/hosts /etc/hosts
# SSH
# Network is unreachable, commented
RUN mkdir -p ~/.ssh
RUN ssh-keyscan -t rsa deploy.runner.iiens.net >> ~/.ssh/known_hosts
RUN ssh-keyscan -t rsa perso3.runner.iiens.net >> ~/.ssh/known_hosts
# Entrypoint, where we can source wanted environment variables / scripts
COPY files/entrypoint.sh /root/entrypoint.sh
ENTRYPOINT /root/entrypoint.sh