Skip to content

Commit

Permalink
CARDS-2317: Split CARDS into multiple projects
Browse files Browse the repository at this point in the history
Allow interpreting $PROJECT_VERSION variables in the ADDITIONAL_SLING_FEATURES env variable
  • Loading branch information
sdumitriu committed Feb 5, 2024
1 parent fe2e126 commit 4b94022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions distribution/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ RUN apk add \
openjdk11-jre \
python3 \
tzdata
bash

# Optional: enable remote debugging at port 5005
ENV DEBUG=
Expand Down
4 changes: 2 additions & 2 deletions distribution/docker_entry.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
Expand Down Expand Up @@ -89,7 +89,7 @@ fi

if [ ! -z $ADDITIONAL_SLING_FEATURES ]
then
featureFlagString="$featureFlagString -f $ADDITIONAL_SLING_FEATURES"
featureFlagString="$featureFlagString -f ${ADDITIONAL_SLING_FEATURES@P}"
fi

#Parse the (legacy) ADDITIONAL_RUN_MODES environment variable and determine the features that need to be enabled
Expand Down

0 comments on commit 4b94022

Please sign in to comment.