- Portland, OR, USA
- https://ketrenos.com
- Joined on
2021-06-04
Block a user
peddlers-of-ketran/pok-server-prod (pok-ci-334--server-prod)
Published 2025-12-11 20:00:36 -08:00 by jketreno
Installation
docker pull git.ketrenos.com/jketreno/peddlers-of-ketran/pok-server-prod:pok-ci-334--server-prodsha256:08074b04ed6c5ae6e6aa12e4930a9aab282f8c140cc583e05d7c6643ff72f90a
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:ddf1aa62235de6657123492b19d27d937c25668011b5ebf923a3f019200f8540 in / |
| CMD ["/bin/bash"] |
| ARG HOST_UID=1001 |
| ARG HOST_GID=1002 |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c apt-get -q update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y ca-certificates gnupg curl nano rsync && apt-get clean && rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} # buildkit |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c mkdir -p /etc/apt/keyrings # buildkit |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg # buildkit |
| ENV NODE_MAJOR=22 |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list # buildkit |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c apt-get -q update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y nodejs sqlite3 && apt-get clean && rm -rf /var/lib/apt/lists/{apt,dpkg,cache,log} # buildkit |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c if ! getent group ${HOST_GID} >/dev/null 2>&1; then groupadd -g ${HOST_GID} hostgroup; else EXISTING=$(getent group ${HOST_GID} | cut -d: -f1) && echo "Using existing group $EXISTING for GID ${HOST_GID}"; fi # buildkit |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c if ! getent passwd ${HOST_UID} >/dev/null 2>&1; then useradd -m -u ${HOST_UID} -g ${HOST_GID} -s /bin/bash hostuser ; else EXISTING_USER=$(getent passwd ${HOST_UID} | cut -d: -f1) && echo "Found existing user $EXISTING_USER with UID ${HOST_UID}"; fi # buildkit |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c if [ ! -d /home/hostuser ]; then mkdir -p /home/hostuser ; else echo "/home/hostuser already exists"; fi # buildkit |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c chown -R ${HOST_UID}:${HOST_GID} /home/hostuser # buildkit |
| ENV HOME=/home/hostuser |
| USER 1001:1002 |
| COPY --chown=1001:1002 shared/package*.json /shared/ # buildkit |
| COPY --chown=1001:1002 server/package*.json /server/ # buildkit |
| WORKDIR /server |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c npm install -s sqlite3 # buildkit |
| RUN |2 HOST_UID=1001 HOST_GID=1002 /bin/sh -c if [ -f package-lock.json ]; then echo "package-lock.json found, running npm ci"; npm ci --legacy-peer-deps --no-audit --no-fund; else echo "No package-lock.json found, running npm install"; npm install --legacy-peer-deps --no-audit --no-fund; fi # buildkit |
| COPY --chown=1001:1002 shared /shared # buildkit |
| COPY --chown=1001:1002 server /server # buildkit |
| ARG VITE_BASEPATH=/ketr.ketran/ |
| ARG VITE_API_BASE=/ketr.ketran/api/v1/ |
| ARG VITE_API_HOST=https://backstory.ketrenos.com |
| ENV VITE_BASEPATH=/ketr.ketran/ |
| ENV VITE_API_BASE=/ketr.ketran/api/v1/ |
| ENV VITE_API_HOST=https://backstory.ketrenos.com |
| RUN |5 HOST_UID=1001 HOST_GID=1002 VITE_BASEPATH=/ketr.ketran/ VITE_API_BASE=/ketr.ketran/api/v1/ VITE_API_HOST=https://backstory.ketrenos.com /bin/sh -c npm run build # buildkit |
| COPY /client/build /client/build # buildkit |
| COPY --chmod=0755 /docker/pok-server-entrypoint.sh /pok-server-entrypoint.sh # buildkit |
| CMD ["/pok-server-entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| com.docker.compose.project | pok-ci-334- |
| com.docker.compose.service | pok-server-prod |
| com.docker.compose.version | 2.40.3 |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 24.04 |
Details
2025-12-11 20:00:36 -08:00
Versions (34)
View all
Container
0
OCI / Docker
linux/amd64
261 MiB
pok-ci-334--server-prod
2025-12-11
pok-ci-333--server-prod
2025-12-11
pok-ci-332--server-prod
2025-12-11
pok-ci-331--server-prod
2025-12-11
pok-ci-330--server-prod
2025-12-10