Skip to content
Snippets Groups Projects
Select Git revision
  • 251392b026c8be11880797dd8c70a8ecd2f3c0b6
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-07-04
  • experimental-2025-07-04-base
  • experimental-2025-07-01
  • experimental-2025-07-01-base
  • experimental-2025-06-25
  • experimental-2025-06-25-base
  • experimental-2025-06-24
  • experimental-2025-06-24-base
  • experimental-2025-06-22
  • experimental-2025-06-22-base
  • v2023.2.5-ffs0.1
  • experimental-2025-06-08
  • experimental-2025-06-08-base
  • experimental-2025-06-06
  • experimental-2025-06-06-base
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
41 results

Dockerfile

Blame
    • Matthias Schiffer's avatar
      c8bbef80
      contrib: Dockerfile: install libnss-unknown · c8bbef80
      Matthias Schiffer authored
      While Podman automatically populates /etc/passwd and /etc/group with
      matching entries for the mapped host user, such a feature is missing
      from Docker. Install libnss-unknown, which will return passwd entries of
      the form "uid-1000" for all unknown UIDs, to avoid warnings and other
      weird behaviour that may occur when running as an unnamed user.
      
      `-o` must be passed to useradd now to allow non-unique user entries, as
      with libnss-unknown, every UID is considered occupied.
      contrib: Dockerfile: install libnss-unknown
      Matthias Schiffer authored
      While Podman automatically populates /etc/passwd and /etc/group with
      matching entries for the mapped host user, such a feature is missing
      from Docker. Install libnss-unknown, which will return passwd entries of
      the form "uid-1000" for all unknown UIDs, to avoid warnings and other
      weird behaviour that may occur when running as an unnamed user.
      
      `-o` must be passed to useradd now to allow non-unique user entries, as
      with libnss-unknown, every UID is considered occupied.
    Dockerfile 907 B
    FROM debian:bookworm-slim
    
    ARG DEBIAN_FRONTEND=noninteractive
    RUN apt-get update && apt-get install -y --no-install-recommends \
        ca-certificates \
        file \
        git \
        python3 \
        python3-distutils \
        build-essential \
        gawk \
        unzip \
        libncurses5-dev \
        zlib1g-dev \
        libssl-dev \
        libelf-dev \
        wget \
        rsync \
        time \
        qemu-utils \
        ecdsautils \
        lua-check \
        shellcheck \
        libnss-unknown \
        && apt-get clean \
        && rm -rf /var/lib/apt/lists/*
    
    RUN mkdir /tmp/ec &&\
        wget -O /tmp/ec/ec-linux-amd64.tar.gz https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.7.0/ec-linux-amd64.tar.gz &&\
        tar -xvzf /tmp/ec/ec-linux-amd64.tar.gz &&\
        mv bin/ec-linux-amd64 /usr/local/bin/editorconfig-checker &&\
        rm -rf /tmp/ec
    
    RUN useradd -m -d /gluon -u 100 -g 100 -o gluon
    USER gluon
    
    VOLUME /gluon
    WORKDIR /gluon