Skip to content

Commit 356b0e8

Browse files
committed
ci: Workaround for BuildKit ARG substitution bug
Docker BuildKit does not seem to support shell substitution on ARG variables, either as a bug or as an undocumented behaviour. For more details, refer to the issue moby/buildkit#5156. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
1 parent d825eff commit 356b0e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.ci

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ EOF
6262
# NOTE: Pre-built Doxygen binaries are only available for x86_64 host.
6363
RUN <<EOF
6464
if [ "${HOSTTYPE}" = "x86_64" ]; then
65-
wget ${WGET_ARGS} "https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION//./_}/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz"
65+
DOXYGEN_DIR="$(echo "${DOXYGEN_VERSION}" | sed 's/./_/g')"
66+
wget ${WGET_ARGS} "https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_DIR}/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz"
6667
tar xf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz -C /opt
6768
ln -s /opt/doxygen-${DOXYGEN_VERSION}/bin/doxygen /usr/local/bin
6869
rm doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz

0 commit comments

Comments
 (0)