relay (sha256:29ef3508b8381dee5f8bdc08e45f5b13210800e0cfd36cb5dc660d1624c80f40)
Published 2024-09-12 12:35:42 +02:00 by tijl
Installation
docker pull git.tijl.dev/tijl/relay@sha256:29ef3508b8381dee5f8bdc08e45f5b13210800e0cfd36cb5dc660d1624c80f40
sha256:29ef3508b8381dee5f8bdc08e45f5b13210800e0cfd36cb5dc660d1624c80f40
Image Layers
ADD file:1129dcf71f67461f4730620f8148cc9ebc7641966fa683cdf84807219ad288b2 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.23.1 |
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 /app/relay /app/ # buildkit |
COPY /app/public /app/ # buildkit |
EXPOSE map[3000/tcp:{}] |
CMD ["/app/relay"] |