Skip to content

fix: fix heredoc in Dockerfile#63

Merged
zeriyoshi merged 1 commit into
mainfrom
fix_heredoc
May 25, 2026
Merged

fix: fix heredoc in Dockerfile#63
zeriyoshi merged 1 commit into
mainfrom
fix_heredoc

Conversation

@zeriyoshi
Copy link
Copy Markdown
Contributor

No description provided.

@zeriyoshi zeriyoshi self-assigned this May 25, 2026
Copilot AI review requested due to automatic review settings May 25, 2026 07:19
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Docker image build to generate docker-entrypoint.sh without a shell heredoc, avoiding Dockerfile parsing issues caused by multi-line heredoc content.

Changes:

  • Replaced the cat <<'EOF' ... EOF heredoc with a printf '%s\n' ... > docker-entrypoint.sh approach.
  • Kept the entrypoint behavior the same (restore cached binaries/headers in GitHub Actions, then exec "$@").

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Dockerfile
Comment on lines +91 to +94
' if test -f "${BIN}"; then' \
' BIN_NAME="$(basename "${BIN}")"' \
' ln -sf "${BIN}" "/usr/local/bin/${BIN_NAME}"' \
' echo "[Pskel > Cache] Restored: ${BIN_NAME}" >&2' \
@zeriyoshi zeriyoshi merged commit 4c600b8 into main May 25, 2026
120 checks passed
@zeriyoshi zeriyoshi deleted the fix_heredoc branch May 25, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants