Skip to content

Commit df35f5c

Browse files
authored
Update package set and sync with track (#56)
* Update package set. * Update and clean up Dockerfile to use newer Node LTS version and avoid pinning versions. * Sync all packages.dhall. * Update expected_results for example-all-fail and example-partial-fail.
1 parent f379034 commit df35f5c

File tree

12 files changed

+812
-366
lines changed

12 files changed

+812
-366
lines changed

Dockerfile

+17-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
1-
FROM node:18.9.1-bullseye-slim
1+
# Use the latest LTS version of Node.js
2+
FROM node:20-bullseye-slim
23

3-
RUN apt-get update \
4-
&& apt-get install -y --no-install-recommends \
5-
ca-certificates=20210119 \
6-
git=1:2.30.2-1 \
7-
jq=1.6-2.1 \
8-
libncurses5=6.2+20201114-2 \
9-
&& apt-get purge --auto-remove -y \
10-
&& apt-get clean \
4+
# Update package lists and install required dependencies
5+
RUN apt-get update && apt-get install -y --no-install-recommends \
6+
ca-certificates \
7+
git \
8+
jq \
9+
libncurses5 \
1110
&& rm -rf /var/lib/apt/lists/*
1211

13-
# Pre-compile exercise dependencies
12+
# Set up working directory
1413
WORKDIR /opt/test-runner/pre-compiled
14+
15+
# Copy and install dependencies
1516
COPY pre-compiled .
1617
RUN npm install && npx spago install && npx spago build --deps-only
1718

18-
# Setup bin directory
19+
# Set up bin directory
1920
WORKDIR /opt/test-runner/bin
2021
COPY bin/run.sh bin/run-tests.sh ./
22+
23+
# Ensure scripts have execution permissions
24+
RUN chmod +x /opt/test-runner/bin/*.sh
25+
26+
# Set the entry point
2127
ENTRYPOINT ["/opt/test-runner/bin/run.sh"]

0 commit comments

Comments
 (0)