Skip to content

Commit 47a128d

Browse files
kierenjclaude
andcommitted
[AI] 0.0.23 - Fix CRLF line endings breaking container execution
Strip Windows line endings in Dockerfile to prevent /bin/bash^M errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ee59b9e commit 47a128d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ RUN mv ./kubectl /usr/local/bin/kubectl
1010
RUN kubectl version --client
1111

1212
ADD k8s-tools.sh /k8s-tools.sh
13-
RUN chmod +x /k8s-tools.sh
13+
RUN sed -i 's/\r$//' /k8s-tools.sh && chmod +x /k8s-tools.sh

k8s-tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
echo cloudflare-cli: k8s-tools v0.0.22
3+
echo cloudflare-cli: k8s-tools v0.0.23
44

55
bad=0
66
if [ -z "$action" ]; then echo "variable 'action' is not set"; bad=1; fi

0 commit comments

Comments
 (0)