-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 changed file
with
5 additions
and
3 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,4 +1,6 @@ | ||
FROM ubuntu:jammy as stage1-build | ||
ARG BASE_IMAGE=ubuntu:jammy | ||
|
||
FROM ${BASE_IMAGE} as stage1-build | ||
MAINTAINER [email protected] | ||
LABEL maintainer="[email protected]" | ||
|
||
|
@@ -93,8 +95,8 @@ RUN cd /home/nmos-cpp/Development/build && \ | |
cp nmos-cpp-node nmos-cpp-registry /home && \ | ||
cd /home && rm -rf .git nmos-cpp nmos-js | ||
|
||
## Re-build container for optimised runtime environment using clean Ubuntu Jammy release | ||
FROM ubuntu:jammy | ||
## Re-build container for optimised runtime environment using clean base image | ||
FROM ${BASE_IMAGE} | ||
|
||
##Copy required files from build container | ||
COPY --from=stage1-build /home /home | ||
|