2022-01-10 14:06:13 +01:00
|
|
|
FROM node:lts-slim
|
2021-12-03 15:04:26 +01:00
|
|
|
|
2022-01-10 14:06:13 +01:00
|
|
|
RUN apt-get -y update
|
|
|
|
|
RUN apt-get -y upgrade
|
|
|
|
|
RUN apt-get -y install git
|
|
|
|
|
RUN apt-get clean
|
|
|
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN npm --version
|
|
|
|
|
|
|
|
|
|
# The docker container is run without network access, so dont check for updates
|
|
|
|
|
ENV NO_UPDATE_NOTIFIER=true
|
2021-10-18 13:48:52 +01:00
|
|
|
|
|
|
|
|
WORKDIR /opt/test-runner
|
|
|
|
|
COPY . .
|
2021-11-24 06:48:56 +01:00
|
|
|
RUN npm ci
|
|
|
|
|
RUN npm run build
|
2021-11-25 18:23:15 +01:00
|
|
|
RUN npm install @abaplint/cli -g
|
2021-11-24 06:48:56 +01:00
|
|
|
RUN npm install @abaplint/transpiler-cli -g
|
|
|
|
|
RUN npm install @abaplint/runtime -g
|
2021-12-03 15:04:26 +01:00
|
|
|
ENTRYPOINT ["/opt/test-runner/bin/run.sh"]
|