-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 392dc7e. Signed-off-by: Alexander Yastrebov <[email protected]>
- Loading branch information
1 parent
392dc7e
commit 96565f4
Showing
1 changed file
with
7 additions
and
11 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,20 +1,16 @@ | ||
ARG BASE_IMAGE=default | ||
ARG BUILD_FOLDER=build | ||
ARG TARGETPLATFORM | ||
|
||
FROM registry.opensource.zalan.do/library/alpine-3:latest AS default | ||
FROM ${BASE_IMAGE} | ||
LABEL maintainer="Team Gateway&Proxy @ Zalando SE <[email protected]>" | ||
|
||
RUN cat /etc/alpine-release \ | ||
&& apk --no-cache add ca-certificates \ | ||
&& update-ca-certificates | ||
|
||
COPY ${BUILD_FOLDER}/${TARGETPLATFORM}/skipper \ | ||
RUN apk --no-cache add ca-certificates && update-ca-certificates | ||
RUN mkdir -p /usr/bin | ||
ARG BUILD_FOLDER=build | ||
ARG TARGETPLATFORM | ||
ADD ${BUILD_FOLDER}/${TARGETPLATFORM}/skipper \ | ||
${BUILD_FOLDER}/${TARGETPLATFORM}/eskip \ | ||
${BUILD_FOLDER}/${TARGETPLATFORM}/webhook \ | ||
${BUILD_FOLDER}/${TARGETPLATFORM}/routesrv \ | ||
/usr/bin/ | ||
${BUILD_FOLDER}/${TARGETPLATFORM}/routesrv /usr/bin/ | ||
ENV PATH $PATH:/usr/bin | ||
|
||
EXPOSE 9090 9911 | ||
|
||
|