-
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.
- Loading branch information
Stephane Gouache
committed
Nov 15, 2023
1 parent
0838d0f
commit 1b45031
Showing
2 changed files
with
3 additions
and
7 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,11 +1,7 @@ | ||
# Build stage | ||
FROM dockerproxy.repos.tech.orange/golang:1.17.3 as build | ||
FROM golang:1.17.3 as build | ||
|
||
LABEL Maintainer="[email protected]" \ | ||
Name="docker-khiops" \ | ||
Version="0.1.1" \ | ||
Description="Server for controlling Khiops" \ | ||
Url="https://gitlab.tech.orange/khiops/server" | ||
LABEL maintainer="Khiops Team <[email protected]>" | ||
|
||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y upx-ucl && \ | ||
|
@@ -26,7 +22,7 @@ RUN useradd -rm -d /home/ubuntu -s /bin/bash ubuntu | |
USER ubuntu | ||
|
||
# Runtime stage | ||
FROM dockerproxy.repos.tech.orange/busybox:glibc as runtime | ||
FROM busybox:glibc as runtime | ||
COPY --from=build /service /service | ||
|
||
ENTRYPOINT ["/service"] |