Skip to content

Commit 8f94124

Browse files
committed
chore: fix gherkin build
1 parent 0e2bfa8 commit 8f94124

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.devcontainer/gherkin/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1212
# Install the base system with all tool dependencies
1313
# hadolint ignore=DL3008
1414
RUN --mount=type=bind,source=.devcontainer/gherkin/apt-requirements-base.json,target=/tmp/apt-requirements-base.json \
15-
--mount=type=bind,source=.devcontainer/gherkin/package.json,target=/tmp/package.json \
16-
--mount=type=bind,source=.devcontainer/gherkin/package-lock.json,target=/tmp/package-lock.json \
1715
--mount=type=cache,target=/var/cache/apt,sharing=locked \
1816
--mount=type=cache,target=/var/lib/apt,sharing=locked \
1917
--mount=type=cache,target=/var/log,sharing=locked \
@@ -26,7 +24,7 @@ RUN --mount=type=bind,source=.devcontainer/gherkin/apt-requirements-base.json,ta
2624
&& wget -qO - https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /usr/share/keyrings/nodesource-keyring.gpg \
2725
&& echo "deb [signed-by=/usr/share/keyrings/nodesource-keyring.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list > /dev/null \
2826
&& apt-get update && apt-get install -y --no-install-recommends nodejs \
29-
&& npm install -g gplint \
27+
&& npm install -g gplint@2.3.0 \
3028
&& cp /etc/skel/.bashrc /root/.bashrc
3129

3230
# Install bats

0 commit comments

Comments
 (0)