Delete dockerfile-arm64

This commit is contained in:
Midou36O
2022-12-03 19:42:34 +01:00
parent 67d2584695
commit 4bedc5adb7
-14
View File
@@ -1,14 +0,0 @@
FROM arm64v8/golang:alpine AS build
WORKDIR /app
RUN apk add --no-cache git
RUN git clone https://codeberg.org/gothub/gothub .
RUN go mod download
RUN go build -ldflags "-X codeberg.org/gothub/gothub/pages.Version=$(git rev-parse --short HEAD)"
FROM arm64v8/alpine:${ARCH} AS bin
WORKDIR /app
COPY --from=build /app/gothub .
COPY --from=build /app/public .
COPY --from=build /app/views .
CMD ["./gothub serve"]
EXPOSE 3000