Fix Docker build issues on Windows and non-ARM architectures

This commit is contained in:
Emil Lindfors
2025-02-25 20:39:51 +01:00
parent 7254f5b735
commit ba8820fde8
2 changed files with 6 additions and 3 deletions

View File

@@ -42,9 +42,10 @@ RUN mkdir -p /workspace /home/node/.claude && \
WORKDIR /workspace
RUN wget https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_arm64.deb && \
sudo dpkg -i git-delta_0.18.2_arm64.deb && \
rm git-delta_0.18.2_arm64.deb
RUN ARCH=$(dpkg --print-architecture) && \
wget "https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_${ARCH}.deb" && \
sudo dpkg -i "git-delta_0.18.2_${ARCH}.deb" && \
rm "git-delta_0.18.2_${ARCH}.deb"
# Set up non-root user
USER node

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
* text=auto eol=lf
*.sh text eol=lf