-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate #12: adding more fixes/cleanup
- Loading branch information
Showing
3 changed files
with
14 additions
and
15 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 |
---|---|---|
@@ -1,15 +1,22 @@ | ||
# # multi stage build, yo! | ||
FROM golang:1.21 | ||
COPY . /app/ | ||
WORKDIR /app | ||
COPY . /app/ | ||
|
||
LABEL org.opencontainers.image.source https://github.com/donkeyx/cluster-utils-api | ||
LABEL maintainer="David Binney <[email protected]>" | ||
|
||
RUN make deps build | ||
|
||
# switched for potential shell | ||
# no longer using musl dns moved to debian | ||
FROM debian:stable-slim | ||
WORKDIR /app | ||
ENV \ | ||
LANG en_AU.UTF-8 \ | ||
LANGUAGE en_AU.UTF-8 \ | ||
LC_ALL en_AU.UTF-8 \ | ||
LC_CTYPE=en_AU.UTF-8 \ | ||
TZ="Australia/Adelaide" | ||
|
||
COPY --from=0 /app/bin/cu-api /app/cu-api | ||
ENTRYPOINT [ "./cu-api" ] |
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