recal (latest)
Published 2024-04-17 00:32:09 +00:00 by scott
Installation
docker pull git.spruett.net/scott/recal:latest
sha256:1b4078cb62eab2f016468f767ef3d7ab8bdf48b8dc0ae4a9decf872fb93b200b
Image Layers
ADD file:6d9e71f0d3afb0b288cf2c06425795d528a142872692072ab1cd1ad275b67d1f in / |
CMD ["bash"] |
/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/* |
/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/* |
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.20.14 |
ENV GOPATH=/go |
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
COPY /usr/local/go/ /usr/local/go/ # buildkit |
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit |
WORKDIR /go |
WORKDIR /app |
COPY go.mod ./ |
COPY go.sum ./ |
RUN go mod download |
RUN mkdir -p backend dist |
COPY backend/ ./backend |
RUN go build -o server ./backend |
COPY dist/ ./dist |