simplytranslate (sha256:62f299849212689fdb2683295c7262551b307b120adf4ab34bc175cf228ddd3e)

Published 2024-06-25 00:03:27 +08:00 by opnxng in opnxng/docker-images

Installation

docker pull git.opnxng.com/opnxng/simplytranslate@sha256:62f299849212689fdb2683295c7262551b307b120adf4ab34bc175cf228ddd3e
sha256:62f299849212689fdb2683295c7262551b307b120adf4ab34bc175cf228ddd3e

Image Layers

ADD file:d0764a717d1e9d0aff3fa84779b11bfa0afe4430dcb6b46d965b209167639ba0 in /
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates # 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
COPY . . # buildkit
WORKDIR /go/web
RUN /bin/sh -c go mod download # buildkit
RUN /bin/sh -c go build -o simplytranslate # buildkit
EXPOSE map[5000/tcp:{}]
CMD ["./simplytranslate"]
Details
Container
2024-06-25 00:03:27 +08:00
4
OCI / Docker
linux/arm64
234 MiB
Versions (1) View all
latest 2024-06-25