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 Jul 29, 2024
1 parent 329014e commit 2264890
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 @@ -7,6 +7,13 @@
* base: remove CALC dependency on Sequencer. by @henriquesimoes in
https://github.com/cnpem/epics-in-docker/pull/68.

### 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.

### New features

* base: add IOCStats module. by @gustavosr8 in
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 2264890

Please sign in to comment.