Files
abap-test-runner/Dockerfile

20 lines
618 B
Docker
Raw Normal View History

2025-07-08 13:10:09 +02:00
FROM node:lts-alpine
2025-07-08 13:10:09 +02:00
# Note: The docker container is run without network access
ENV NO_UPDATE_NOTIFIER=true
2021-10-18 13:48:52 +01:00
WORKDIR /opt/test-runner
COPY . .
2025-07-08 13:10:09 +02:00
RUN apk add --no-cache --virtual .build-deps git \
&& npm ci \
&& npm run build \
&& apk del .build-deps \
# Remove build time depencies
&& npm prune --omit dev \
# FIXME: These dependencies are required globally while they are included in package.json
&& npm install --global @abaplint/cli @abaplint/transpiler-cli @abaplint/runtime \
# Clean npm generated files
&& npm cache clean --force \
&& rm -rf /tmp/* /root/.npm
ENTRYPOINT ["/opt/test-runner/bin/run.sh"]