mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 22:40:34 +00:00
Instead of redefining the dapper file here, download it from Shiyard Also use the BASE_BRANCH env variable for the dapper file Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
17 lines
621 B
Docker
17 lines
621 B
Docker
ARG BASE_BRANCH
|
|
FROM quay.io/submariner/shipyard-dapper-base:${BASE_BRANCH}
|
|
|
|
ARG DAPPER_HOST_ARCH
|
|
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH} \
|
|
DAPPER_ENV="REPO TAG QUAY_USERNAME QUAY_PASSWORD GITHUB_SHA MAKEFLAGS CLUSTERS_ARGS DEPLOY_ARGS E2E_ARGS RELEASE_ARGS" \
|
|
DAPPER_SOURCE=/go/src/github.com/submariner-io/submariner-charts DAPPER_DOCKER_SOCKET=true
|
|
ENV DAPPER_OUTPUT=${DAPPER_SOURCE}/output PATH=${DAPPER_SOURCE}/bin/:${PATH}
|
|
|
|
WORKDIR ${DAPPER_SOURCE}
|
|
|
|
# Override the Helm deployment scripts
|
|
COPY deploy_helm /opt/shipyard/scripts/lib/
|
|
|
|
ENTRYPOINT ["/opt/shipyard/scripts/entry"]
|
|
CMD ["sh"]
|