Skip to content

Commit

Permalink
Merge pull request #669 from javipolo/fix_ssh_key
Browse files Browse the repository at this point in the history
Fix SSH_PUBKEY expansion into build-arg
  • Loading branch information
rhatdan authored Jul 11, 2024
2 parents 5f5e6d0 + 2bafcd5 commit 6deab0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion training/amd-bootc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bootc: prepare-files
$(FROM:%=--from=%) \
$(INSTRUCTLAB_IMAGE:%=--build-arg INSTRUCTLAB_IMAGE=%) \
$(SOURCE_DATE_EPOCH:%=--timestamp=%) \
$(SSH_PUBKEY:%=--build-arg SSHPUBKEY=%) \
$(if $(SSH_PUBKEY),--build-arg SSHPUBKEY='$(SSH_PUBKEY)') \
--cap-add SYS_ADMIN \
--file Containerfile \
--security-opt label=disable \
Expand Down
2 changes: 1 addition & 1 deletion training/intel-bootc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bootc: prepare-files
$(FROM:%=--build-arg BASEIMAGE=%) \
$(INSTRUCTLAB_IMAGE:%=--build-arg INSTRUCTLAB_IMAGE=%) \
$(SOURCE_DATE_EPOCH:%=--timestamp=%) \
$(SSH_PUBKEY:%=--build-arg SSHPUBKEY=%) \
$(if $(SSH_PUBKEY),--build-arg SSHPUBKEY='$(SSH_PUBKEY)') \
--cap-add SYS_ADMIN \
--file Containerfile \
--security-opt label=disable \
Expand Down
2 changes: 1 addition & 1 deletion training/nvidia-bootc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bootc: driver-toolkit check-sshkey prepare-files
$(KERNEL_VERSION:%=--build-arg KERNEL_VERSION=%) \
$(OS_VERSION_MAJOR:%=--build-arg OS_VERSION_MAJOR=%) \
$(SOURCE_DATE_EPOCH:%=--timestamp=%) \
$(SSH_PUBKEY:%=--build-arg SSHPUBKEY=%) \
$(if $(SSH_PUBKEY),--build-arg SSHPUBKEY='$(SSH_PUBKEY)') \
--cap-add SYS_ADMIN \
--file Containerfile \
--security-opt label=disable \
Expand Down

0 comments on commit 6deab0f

Please sign in to comment.