Skip to content

Commit 890031b

Browse files
authored
Update test.yml
1 parent 24aa4e4 commit 890031b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,18 @@ jobs:
2929

3030
# Docker build or pull needs CA fixup?
3131
- run: |
32-
echo '
33-
FROM node:18.16-bookworm-slim AS npm-builder
32+
cat <<EOF > Dockerfile
33+
FROM node:18.16-bookworm-slim AS npm-builder
3434
35-
# Install Debian dependencies
36-
RUN apt-get update -y && \
37-
apt-get install -y build-essential git && \
38-
apt-get clean && \
39-
rm -f /var/lib/apt/lists/*_*
35+
# Install Debian dependencies
36+
RUN apt-get update -y && \
37+
apt-get install -y build-essential git && \
38+
apt-get clean && \
39+
rm -f /var/lib/apt/lists/*_*
4040
41-
COPY LICENSE /
42-
CMD ["cat LICENSE"]' > ./Dockerfile
41+
COPY LICENSE /
42+
CMD ["cat LICENSE"]
43+
EOF
4344
docker build --rm --tag elixir_boilerplate:latest .
4445
4546
- run: |

0 commit comments

Comments
 (0)