-
Notifications
You must be signed in to change notification settings - Fork 16
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
Signed-off-by: Arrobo, Gabriel <[email protected]>
- Loading branch information
1 parent
9e22362
commit b957ed0
Showing
10 changed files
with
55 additions
and
102 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 |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
FROM golang:1.23.2-bookworm AS builder | ||
|
||
LABEL maintainer="Aether SD-Core <[email protected]>" | ||
|
||
RUN apt-get update && \ | ||
apt-get -y install --no-install-recommends \ | ||
apt-transport-https \ | ||
|
@@ -22,12 +20,14 @@ RUN apt-get update && \ | |
apt-get clean | ||
|
||
WORKDIR $GOPATH/src/udr | ||
|
||
COPY . . | ||
RUN make all | ||
|
||
FROM alpine:3.20 AS udr | ||
|
||
LABEL description="ONF open source 5G Core Network" \ | ||
LABEL maintainer="Aether SD-Core <[email protected]>" \ | ||
description="ONF open source 5G Core Network" \ | ||
version="Stage 3" | ||
|
||
ARG DEBUG_TOOLS | ||
|
@@ -37,8 +37,5 @@ RUN if [ "$DEBUG_TOOLS" = "true" ]; then \ | |
apk update && apk add --no-cache -U vim strace net-tools curl netcat-openbsd bind-tools; \ | ||
fi | ||
|
||
# Set working dir | ||
WORKDIR /free5gc/udr | ||
|
||
# Copy executable and default certs | ||
COPY --from=builder /go/src/udr/bin/* . | ||
# Copy executable | ||
COPY --from=builder /go/src/udr/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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.