From 30fdb36eb90c3817a2e485dc49dd2e432be75251 Mon Sep 17 00:00:00 2001 From: rnveach Date: Sat, 22 Oct 2022 16:08:51 -0400 Subject: [PATCH] config: remove outdated docker file --- config/Dockerfile | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 config/Dockerfile diff --git a/config/Dockerfile b/config/Dockerfile deleted file mode 100644 index 5cc6a2cc..00000000 --- a/config/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -FROM sonarqube:7.9-community - -ARG MAVEN_VERSION=3.3.9 -ARG USER_HOME_DIR="/root" - -USER root - -# circleci need home folder to be present and accessible by execution user -RUN mkdir /home/sonarqube && chown sonarqube:sonarqube /home/sonarqube - -RUN mkdir -p /usr/share/maven /usr/share/maven/ref \ - && curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz \ - | tar -xzC /usr/share/maven --strip-components=1 \ - && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn - -ENV MAVEN_HOME /usr/share/maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" - -VOLUME "$USER_HOME_DIR/.m2" - -# update dpkg repositories to be able to install packages -RUN apt-get -y update \ - && apt-get install -y git \ - && apt-get install -y vim - -USER sonarqube - -# Build image by "docker build -t sonarqube-maven-git ." -# run it as "docker run -d --name sonarqube-maven-git -p 9000:9000 -p 9092:9092 sonarqube-maven-git" -# step inside "docker exec -i -t sonarqube-maven-git /bin/bash"