Skip to content
Snippets Groups Projects
Select Git revision
  • b4bb2ba7163a551e36e65b51a37322b92f7025e2
  • master default protected
  • nrbffs/debian-10 protected
3 results

Dockerfile

Blame
  • Dockerfile 880 B
    FROM debian:bookworm-slim
    
    RUN apt-get update \
        && apt-get install -y ca-certificates \
        ca-certificates \
        file \
        git \
        python3 \
        python3-dev \
        python3-distutils \
        python3-pyelftools \
        python3-setuptools \
        build-essential \
        gawk \
        unzip \
        libncurses5-dev \
        zlib1g-dev \
        libssl-dev \
        libelf-dev \
        wget \
        rsync \
        time \
        qemu-utils \
        ecdsautils \
        lua-check \
        shellcheck \
        libnss-unknown \
        openssh-client \
        swig \
        && apt-get clean \
        && rm -rf /var/lib/apt/lists/*
    
    # gluon build fails when running as root
    RUN useradd -m -d /build -u 1000 -g 1000 -o build
    USER build
    # workaround for fatal: detected dubious ownership in repository at '/builds/firmware/site-ffs'
    # https://gitlab.com/gitlab-org/gitlab-runner/-/issues/29022
    RUN git config --global --add safe.directory '*'