ubss-golang (admind)
Published 2024-12-30 21:34:23 +00:00 by burble
Installation
docker pull git.burble.com/ubss/ubss-golang:admind
sha256:54d57d3961513b07b4b473226a257a358200884f381e2c5508c8d0d05f737645
Image Layers
ADD alpine-minirootfs-3.21.0-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
COPY /usr/lib /usr/lib # buildkit |
COPY /usr/local/lib /usr/local/lib # buildkit |
COPY /usr/local/include /usr/local/include # buildkit |
COPY /usr/local/bin /usr/local/bin # buildkit |
RUN /bin/sh -c npm install -g yarn --force # buildkit |
RUN /bin/sh -c apk add --no-cache asciidoctor pandoc-cli # buildkit |
RUN /bin/sh -c npm i -g postcss-cli autoprefixer @fullhuman/postcss-purgecss rtlcss # buildkit |
COPY /opt/dart-sass /opt/dart-sass # buildkit |
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/dart-sass |
COPY /usr/local/go /usr/local/go # buildkit |
RUN /bin/sh -c ln -s /usr/local/go/bin/go /usr/local/bin/go # buildkit |
RUN /bin/sh -c apk add --no-cache git # buildkit |
RUN /bin/sh -c git config --global --add safe.directory /src # buildkit |
ARG BUILD_TAGS= |
RUN |1 BUILD_TAGS=extended /bin/sh -c if [[ "$BUILD_TAGS" == *"extended"* ]]; then apk add --no-cache libc6-compat libstdc++; fi # buildkit |
RUN |1 BUILD_TAGS=extended /bin/sh -c apk add --update --no-cache ca-certificates tzdata # buildkit |
COPY /usr/bin/hugo /usr/bin/hugo # buildkit |
COPY ./bin /usr/local/bin # buildkit |
ENTRYPOINT ["docker-entrypoint.sh"] |
CMD ["/bin/sh" "-c" "hugo help"] |
ARG USER=root |
RUN |2 BUILD_TAGS=extended USER=root /bin/sh -c if id node >/dev/null 2>&1; then deluser node 2> /dev/null; fi # buildkit |
RUN |2 BUILD_TAGS=extended USER=root /bin/sh -c if id node >/dev/null 2>&1; then delgroup node 2> /dev/null; fi # buildkit |
RUN |2 BUILD_TAGS=extended USER=root /bin/sh -c addgroup -g 1000 hugo && adduser -u 1000 -G hugo -s /bin/sh -D hugo # buildkit |
RUN |2 BUILD_TAGS=extended USER=root /bin/sh -c mkdir /src && chown -R hugo:hugo /src # buildkit |
USER root |
WORKDIR /src |
LABEL org.opencontainers.image.authors=simon@burble.com |
VOLUME [/site] |
RUN /bin/sh -c apk update && apk add poppler-utils # buildkit |
ADD admind /usr/local/bin/admind # buildkit |
RUN /bin/sh -c chown 1000:1000 /usr/local/bin/admind && chmod 0550 /usr/local/bin/admind # buildkit |
USER 1000:1000 |
WORKDIR /site |
EXPOSE map[2010/tcp:{}] |
ENTRYPOINT ["/usr/local/bin/admind"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.authors | simon@burble.com |
org.opencontainers.image.created | 2024-12-30T21:33:58Z |
org.opencontainers.image.revision | 6500363d3f57020f979f34a9f31fbcbf5fa0507f |
org.opencontainers.image.source | https://git.burble.dn42/ubss/ubss-golang.git |
org.opencontainers.image.url | https://git.burble.dn42/ubss/ubss-golang |
Details
2024-12-30 21:34:23 +00:00
Versions (3)
View all
Container
49
OCI / Docker
linux/amd64
simon@burble.com
273 MiB