Skip to content
Snippets Groups Projects
  1. Sep 10, 2023
    • Matthias Schiffer's avatar
      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.
      Unverified
      c8bbef80
    • Matthias Schiffer's avatar
      contrib: Dockerfile: use UID/GID 100 for gluon user · 4ada0c4e
      Matthias Schiffer authored
      To make the container behave the same regardless of the UIDs used
      outside of the container, choose a UID that is unlikely to be used by
      the user mounting their build directory the container. 100 should not
      conflict with common defaults on Linux (min UID 1000) or MacOS X
      (min UID 500). Conveniently, there is already a group "users" at GID
      100, so creating a new group can be avoided.
      Unverified
      4ada0c4e
    • Magnus Frühling's avatar
      contrib: Dockerfile: actually create gluon user directory · 9f904754
      Magnus Frühling authored
      Initialize the /gluon volume with the contents of /etc/skel.
      
      [Matthias Schiffer: extend commit message]
      Unverified
      9f904754
  2. Aug 21, 2023
  3. Aug 09, 2023
  4. Apr 02, 2023
  5. Jan 15, 2023
  6. Dec 18, 2022
  7. Nov 07, 2022
  8. Aug 30, 2022
  9. Dec 21, 2021
    • Martin Weinelt's avatar
      Add helper to run a containerized build environment (#2292) · 6728c4a1
      Martin Weinelt authored
      Using `make container` or, if you don't have automake/gmake on your host
      system, `./scripts/container.sh` will build an image for the current
      branch your are on and drop you into a shell running inside a container
      using that image.
      
      From there all tooling required to work on Gluon is available.
      
      Supports both podman (preferred) and docker.
      Unverified
      6728c4a1
Loading