something (latest)

Published 2025-01-02 21:05:19 -05:00 by simponic

Installation

docker pull git.simponic.xyz/simponic/something:latest
sha256:f6b5d7ad6c4c3437dd61f315cbc29b906071ec7ead43f39381a0bc35b0a437ed

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1734912000'
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; rm -rf /var/lib/apt/lists/* # buildkit
ENV GOLANG_VERSION=1.23.4
ENV GOTOOLCHAIN=local
ENV GOPATH=/go
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY /target/ / # buildkit
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
WORKDIR /go
WORKDIR /app
COPY go.mod go.sum ./ # buildkit
RUN /bin/sh -c go mod download # buildkit
COPY . . # buildkit
RUN /bin/sh -c go build -o /app/something # buildkit
EXPOSE map[8080/tcp:{}]
CMD ["/app/something" "--server" "--migrate" "--port" "8080" "--template-path" "/app/templates" "--database-path" "/app/db/something.db" "--static-path" "/app/static" "--scheduler"]

Labels

Key Value
org.opencontainers.image.created 2025-01-03T02:03:45Z
org.opencontainers.image.revision f1963beac75d13352a08d5918e596b781facbdf8
org.opencontainers.image.source https://git.simponic.xyz/simponic/something.git
org.opencontainers.image.url https://git.simponic.xyz/simponic/something
Details
Container
2025-01-02 21:05:19 -05:00
2
OCI / Docker
linux/amd64
329 MiB
Versions (1) View all
latest 2025-01-02