Skip to content

Commit 19efa63

Browse files
committed
style(ct): add missing BASE_IMAGE arg and clarify workaround labeling
Updated Dockerfile to include the BASE_IMAGE argument. The ARG value is not available anymore _after_ the FROM statement, so we need to repeat it for the workaround to work in full.
1 parent 485e088 commit 19efa63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ RUN ln -s "${DEPLOY_DIR}/dataverse/supplements/jhove.conf" "${PAYARA_DIR}/glassf
4646
ln -s "${DEPLOY_DIR}/dataverse/supplements/jhoveConfig.xsd" "${PAYARA_DIR}/glassfish/domains/${DOMAIN_NAME}/config/jhoveConfig.xsd" && \
4747
sed -i "${PAYARA_DIR}/glassfish/domains/${DOMAIN_NAME}/config/jhove.conf" -e "s:/usr/local/payara./glassfish/domains/domain1:${PAYARA_DIR}/glassfish/domains/${DOMAIN_NAME}:g"
4848

49-
# Workaround for fabric8io/docker-maven-plugin#1865
49+
# Workaround for fabric8io/docker-maven-plugin#1865 (both arg lines)
5050
ARG APP_IMAGE_VERSION
51+
ARG BASE_IMAGE
5152
LABEL org.opencontainers.image.created="@git.build.time@" \
5253
org.opencontainers.image.authors="Research Data Management at FZJ <[email protected]>" \
5354
org.opencontainers.image.url="https://guides.dataverse.org/en/latest/container/" \

0 commit comments

Comments
 (0)