Skip to content

Commit

Permalink
ioc: ensure single UID is used in containers.
Browse files Browse the repository at this point in the history
IOC images do not require multiple users. Ensure all applications and
filesystem files satisfy this restriction, so that no issues occur at
runtime.
  • Loading branch information
henriquesimoes committed Aug 20, 2024
1 parent cfaa61d commit af58003
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Unreleased

### Bug fixes

* ioc: ensure single UID is used in containers. by @henriquesimoes in
https://github.com/cnpem/epics-in-docker/69
* This allows to use ignore_chown_errors=True without subuid and subgid, but
still have everything working, especially apt.

## v0.9.0

Users willing to use `iocStats`, `ipmiComm`, `pyDevSup`, `SNMP`, `motorPIGCS2`,
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ ARG RUNTIME_PACKAGES
ARG RUNTIME_TAR_PACKAGES
ARG RUNTIME_PIP_PACKAGES

COPY --from=build-image /usr/local/bin/lnls-single-uid /usr/local/bin/lnls-single-uid
RUN lnls-single-uid

RUN apt update -y && \
apt install -y --no-install-recommends \
libreadline8 \
Expand Down

0 comments on commit af58003

Please sign in to comment.