kore-docker

Official Kore Dockerfiles
Commits | Files | Refs | README | git clone

commit 30ebb69c453f4c91b42b76bcedcaa9b43e91a79a
parent 4e979f244c2fa0c74666069ba246fb24ff7cd200
Author: Joris Vink <joris@coders.se>
Date:   Mon, 10 May 2021 14:55:55 +0200

Dockerfile Improvements.

- Make sure parent directory for homedirs exists.
- Move homedir for 'kore' user to /koreapp. This should be where the appdata
  is to be stored accessed by workers.

Diffstat:
4.1.0/Dockerfile | 5+++--
git-master/Dockerfile | 5+++--
2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/4.1.0/Dockerfile b/4.1.0/Dockerfile @@ -7,12 +7,13 @@ RUN apk add --no-cache \ libpq \ python3 -RUN addgroup -g 500 keymgr && \ +RUN mkdir -p /var/chroot && \ + addgroup -g 500 keymgr && \ adduser -D -u 500 -h /var/chroot/keymgr -s /sbin/nologin -G keymgr keymgr && \ addgroup -g 501 acme && \ adduser -D -u 501 -h /var/chroot/acme -s /sbin/nologin -G acme acme && \ addgroup -g 502 kore && \ - adduser -D -u 502 -h /var/chroot/kore -s /sbin/nologin -G kore kore + adduser -D -u 502 -h /koreapp -s /sbin/nologin -G kore kore RUN apk add --no-cache --virtual .build-deps \ musl-dev \ diff --git a/git-master/Dockerfile b/git-master/Dockerfile @@ -7,12 +7,13 @@ RUN apk add --no-cache \ libpq \ python3 -RUN addgroup -g 500 keymgr && \ +RUN mkdir -p /var/chroot && \ + addgroup -g 500 keymgr && \ adduser -D -u 500 -h /var/chroot/keymgr -s /sbin/nologin -G keymgr keymgr && \ addgroup -g 501 acme && \ adduser -D -u 501 -h /var/chroot/acme -s /sbin/nologin -G acme acme && \ addgroup -g 502 kore && \ - adduser -D -u 502 -h /var/chroot/kore -s /sbin/nologin -G kore kore + adduser -D -u 502 -h /koreapp -s /sbin/nologin -G kore kore ADD https://git.kore.io/kore.git/refs/heads/master master.commit