-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(redis): fix handling unable to acquire redis lock
- Loading branch information
Showing
4 changed files
with
41 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ghcr.io/aldor007/mort-base | ||
|
||
ENV GOLANG_VERSION 1.16.6 | ||
ARG TARGETARCH amd64 | ||
ARG TAG 'dev' | ||
ARG COMMIT "master" | ||
ARG DATE "now" | ||
|
||
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-$TARGETARCH.tar.gz | ||
|
||
RUN curl -fsSL --insecure "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \ | ||
&& tar -C /usr/local -xzf golang.tar.gz \ | ||
&& rm golang.tar.gz | ||
|
||
ENV WORKDIR /workspace | ||
ENV PATH /usr/local/go/bin:$PATH | ||
|
||
|
||
WORKDIR $WORKDIR | ||
COPY go.mod ./ | ||
COPY go.sum ./ | ||
RUN go mod download | ||
|
||
COPY cmd/ $WORKDIR/cmd | ||
COPY .godir ${WORKDIR}/.godir | ||
COPY configuration/ ${WORKDIR}/configuration | ||
COPY etc/ ${WORKDIR}/etc | ||
COPY pkg/ ${WORKDIR}/pkg | ||
COPY scripts/ ${WORKDIR}/scripts | ||
COPY Makefile ${WORKDIR}/Makefile |
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
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