Skip to content

Commit

Permalink
Revert "packaging: update Dockerfile (#2563)" (#2564)
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
AlexanderYastrebov authored Sep 1, 2023
1 parent 392dc7e commit 96565f4
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions packaging/Dockerfile
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

Expand Down

0 comments on commit 96565f4

Please sign in to comment.