Skip to content

Commit

Permalink
Merge pull request #460 from xumia/fix-docker-macsec-dbg
Browse files Browse the repository at this point in the history
[Build] Fix docker-macsec-dbg build failure
  • Loading branch information
BYGX-wcr authored Sep 12, 2024
2 parents 0c6d8f4 + e05b338 commit f187216
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build_debug_docker_j2.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#! /bin/bash

# Workaround to fix build docker-macsec-dbg issue
if [[ $1 == docker-macsec* ]]; then
cat dockers/docker-macsec/Dockerfile-debug.j2
exit 0
fi

echo "
FROM $1
Expand Down
6 changes: 6 additions & 0 deletions dockers/docker-macsec/Dockerfile-debug.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM publicmirror.azurecr.io/docker-macsec-dbg:202405

RUN mkdir /etc/fips && echo 1 > /etc/fips/fips_enable
COPY ["cli", "/cli/"]

ENTRYPOINT ["/usr/local/bin/supervisord"]

0 comments on commit f187216

Please sign in to comment.