This commit is contained in:
18
.gitlab/docker/codequality/Dockerfile
Normal file
18
.gitlab/docker/codequality/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
# SPDX-FileCopyrightText: The openTCS Authors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
#
|
||||
# Remember to update version.yml when you change the image contents here!
|
||||
#
|
||||
FROM eclipse-temurin:21-jdk-jammy
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
bash \
|
||||
nodejs \
|
||||
npm \
|
||||
sed \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN npm install -g violations-command-line@1.25.3
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
6
.gitlab/docker/codequality/version.yml
Normal file
6
.gitlab/docker/codequality/version.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# SPDX-FileCopyrightText: The openTCS Authors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
variables:
|
||||
# Remember to update this whenever you change the image contents in Dockerfile!
|
||||
CODEQUALITY_IMAGE_TAG: "1.2.0"
|
||||
Reference in New Issue
Block a user