Skip to content
Snippets Groups Projects
  • Reiter, Christoph's avatar
    52bf9dbc
    CI: Port to deployer v7 · 52bf9dbc
    Reiter, Christoph authored
    The behaviour should be the same, except the deployer command
    is now independent of the CWD.
    
    We also no longer ship deployer in the docker image, but install
    it via composer, so it's easier to update.
    52bf9dbc
    History
    CI: Port to deployer v7
    Reiter, Christoph authored
    The behaviour should be the same, except the deployer command
    is now independent of the CWD.
    
    We also no longer ship deployer in the docker image, but install
    it via composer, so it's easier to update.
Dockerfile 909 B
FROM debian:bullseye

ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive

# https://github.com/karma-runner/karma-firefox-launcher/issues/104
ENV MOZ_FORCE_DISABLE_E10S true

RUN apt-get update && apt-get install -y \
    git \
    curl \
    && rm -rf /var/lib/apt/lists/*

RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
    && rm -rf /var/lib/apt/lists/*

RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list

RUN apt-get update && apt-get install -y \
    nodejs \
    yarn \
    chromium \
    # libgbm1: newer chromium from puppeteer
    libgbm1 \
    firefox-esr \
    composer \
    php-zip \
    rsync \
    sudo \
    && rm -rf /var/lib/apt/lists/*

RUN useradd -u 1000 -ms /bin/bash user
RUN echo 'user ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER user
WORKDIR /home/user