-
-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
ARG BUILD_TAG=devel | ||
FROM samip537/archlinux:${BUILD_TAG} | ||
FROM jguer/yay-builder:latest | ||
LABEL maintainer="Jguer,joaogg3 at google mail" | ||
|
||
WORKDIR /app | ||
|
||
RUN pacman -Syu --overwrite=* --needed --noconfirm \ | ||
go git | ||
|
||
COPY go.mod . | ||
COPY go.sum . | ||
ARG VERSION | ||
ARG PREFIX | ||
ARG ARCH | ||
|
||
RUN go mod download | ||
WORKDIR /app | ||
|
||
ENV ARCH=x86_64 | ||
COPY . . | ||
|
||
RUN make release VERSION=${VERSION} PREFIX=${PREFIX} ARCH=${ARCH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters