From 3a3906ebc72a6811456c169ee53ae2f06da58ce5 Mon Sep 17 00:00:00 2001 From: Rawley Fowler <75388349+rawleyfowler@users.noreply.github.com> Date: Tue, 10 May 2022 14:02:58 -0600 Subject: [PATCH] Update and rename Dockerfile to Containerfile --- Dockerfile => Containerfile | 5 ----- 1 file changed, 5 deletions(-) rename Dockerfile => Containerfile (79%) diff --git a/Dockerfile b/Containerfile similarity index 79% rename from Dockerfile rename to Containerfile index 679268e..e0abd92 100644 --- a/Dockerfile +++ b/Containerfile @@ -1,16 +1,11 @@ -# syntax = docker/dockerfile:1 - FROM --platform=${BUILDPLATFORM} golang:1.18-bullseye AS build WORKDIR . ENV CGO_ENABLED=0 -COPY . . ARG TARGETOS ARG TARGETARCH RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /bin/rawleydotxyz . FROM scratch AS bin COPY --from=build /bin/rawleydotxyz / - -FROM golang:1.18-bullseye AS run EXPOSE 8080/tcp CMD ["/rawleydotxyz"]