-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor path for configuration file, option(s) and Docker image (#94)
Signed-off-by: Arrobo, Gabriel <[email protected]>
- Loading branch information
1 parent
44a9ed6
commit 7d14ddd
Showing
6 changed files
with
111 additions
and
101 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 |
---|---|---|
|
@@ -5,15 +5,14 @@ | |
|
||
FROM golang:1.23.2-bookworm AS builder | ||
|
||
LABEL maintainer="Aether SD-Core <[email protected]>" | ||
|
||
WORKDIR $GOPATH/src/metricfunc | ||
COPY . . | ||
RUN make all | ||
|
||
FROM alpine:3.20 AS metricfunc | ||
|
||
LABEL description="Aether open source 5G Core Network" \ | ||
LABEL maintainer="Aether SD-Core <[email protected]>" \ | ||
description="Aether open source 5G Core Network" \ | ||
version="Stage 3" | ||
|
||
ARG DEBUG_TOOLS | ||
|
@@ -23,11 +22,5 @@ RUN if [ "$DEBUG_TOOLS" = "true" ]; then \ | |
apk update && apk add --no-cache -U vim strace net-tools curl netcat-openbsd bind-tools tcpdump; \ | ||
fi | ||
|
||
# Set working dir | ||
WORKDIR /metricfunc/bin | ||
|
||
# Copy executable | ||
COPY --from=builder /go/src/metricfunc/bin/* . | ||
|
||
#Image default directory | ||
WORKDIR /metricfunc | ||
COPY --from=builder /go/src/metricfunc/bin/* /usr/local/bin/. |
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
Oops, something went wrong.