oci-images/gofu-create-user (sha256:f5a5b94e4dc65452b7ec6d067c6a07613d8fe598f2bdc29cd6dac1d00a9a5454)

Published 2026-11-02 23:18:46 +01:00 by roshless in infra/oci-images

Installation

docker pull git.roshless.me/infra/oci-images/gofu-create-user@sha256:f5a5b94e4dc65452b7ec6d067c6a07613d8fe598f2bdc29cd6dac1d00a9a5454
sha256:f5a5b94e4dc65452b7ec6d067c6a07613d8fe598f2bdc29cd6dac1d00a9a5454

Image layers

ADD alpine-minirootfs-3.24.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache curl # buildkit
RUN /bin/sh -c addgroup -S appuser && adduser -S -G appuser -u 10001 appuser # buildkit
USER 10001
ENV GOFU_API_ENDPOINT=http://localhost/api/v1/user
ENV GOFU_USERNAME=newuser
ENV GOFU_PASSWORD=coollongpassword
ENV GOFU_EMAIL=something@example.org
CMD ["/bin/sh" "-c" "curl -i --retry 5 --retry-max-time 120 -X POST --data '{\"name\":\"'\"$GOFU_USERNAME\"'\",\"password\":\"'\"$GOFU_PASSWORD\"'\",\"email\":\"'\"$GOFU_EMAIL\"'\",\"is_admin\":true}' --header 'Content-Type: application/json' ${GOFU_API_ENDPOINT}"]

Labels

Key Value
org.opencontainers.image.created 2026-11-02T22:18:21.720Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 16e31cb1390d2ded24f0d951c81887501ab275e0
org.opencontainers.image.source https://git.roshless.me/infra/oci-images
org.opencontainers.image.title oci-images
org.opencontainers.image.url https://git.roshless.me/infra/oci-images
org.opencontainers.image.version 202611022318
Details
Container
2026-11-02 23:18:46 +01:00
7
OCI / Docker
linux/amd64
6.1 MiB
Versions (6) View all
latest 2026-11-02
202611022318 2026-11-02
202611011901 2026-11-01
202609012001 2026-09-01
202607012000 2026-07-01