Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing old unused docker files #259

Merged
merged 2 commits into from
Dec 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions Dockerfile.cypress

This file was deleted.

8 changes: 0 additions & 8 deletions Dockerfile.pa11y

This file was deleted.

23 changes: 21 additions & 2 deletions Dockerfile.web-client
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM cypress/base:8

WORKDIR /home/app

RUN echo "deb http://http.debian.net/debian jessie-backports main" >> /etc/apt/sources.list

RUN apt-get update

RUN apt-get install -y default-jre
RUN apt-get install -y -t jessie-backports openjdk-8-jdk

RUN apt-get install -yq git bash

Expand All @@ -20,13 +24,28 @@ RUN apt-get install -yq unzip wget
# RUN pip install --upgrade pip
RUN apt-get install -y awscli
# RUN pip install awscli==${AWS_CLI_VERSION}
#RUN pip install setuptools
#RUN pip install pylint

RUN apt-get install -y jq

RUN wget -q -O terraform_0.11.8_linux_amd64.zip https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.zip && \
unzip -o terraform_0.11.8_linux_amd64.zip terraform

RUN cp terraform /usr/local/bin/

WORKDIR /home/app
RUN curl --insecure -OL 'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip'
RUN mkdir sonar_scanner
RUN unzip -d sonar_scanner sonar-scanner-cli-3.2.0.1227-linux.zip
RUN mv sonar_scanner/* sonar_home
RUN rm -rf sonar_scanner sonar-scanner-cli-3.2.0.1227-linux.zip

ENV SONAR_RUNNER_HOME=/home/app/sonar_home
ENV PATH ${SONAR_RUNNER_HOME}/bin:$PATH

RUN sed -i 's/use_embedded_jre=true/use_embedded_jre=false/g' sonar_home/bin/sonar-scanner

RUN java -version

RUN CI=true npm install cypress

Expand Down
11 changes: 0 additions & 11 deletions business/Dockerfile.audit

This file was deleted.

14 changes: 0 additions & 14 deletions business/Dockerfile.lint

This file was deleted.

44 changes: 0 additions & 44 deletions business/Dockerfile.sonarqube

This file was deleted.

11 changes: 0 additions & 11 deletions business/Dockerfile.test

This file was deleted.

4 changes: 2 additions & 2 deletions business/docker-sonarqube.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e
branch_name="${branch_name}"
docker build -t shared-sonarqube -f Dockerfile.sonarqube .
docker run -e "SONAR_KEY=${SONAR_KEY}" -e "branch_name=${branch_name}" -e "SONAR_ORG=${SONAR_ORG}" -e "SONAR_TOKEN=${SONAR_TOKEN}" -v "$(pwd)/coverage:/home/app/coverage" --rm shared-sonarqube
docker build -t shared-sonarqube -f ../Dockerfile.web-client ..
docker run -e "SONAR_KEY=${SONAR_KEY}" -e "branch_name=${branch_name}" -e "SONAR_ORG=${SONAR_ORG}" -e "SONAR_TOKEN=${SONAR_TOKEN}" -v "$(pwd)/coverage:/home/app/coverage" --rm shared-sonarqube /bin/sh -c 'cd business && ./verify-sonarqube-passed.sh'
16 changes: 0 additions & 16 deletions efcms-service/Dockerfile.audit

This file was deleted.

28 changes: 0 additions & 28 deletions efcms-service/Dockerfile.globaltables

This file was deleted.

16 changes: 0 additions & 16 deletions efcms-service/Dockerfile.lint

This file was deleted.

27 changes: 0 additions & 27 deletions efcms-service/Dockerfile.route53

This file was deleted.

20 changes: 0 additions & 20 deletions efcms-service/Dockerfile.s3replication

This file was deleted.

30 changes: 0 additions & 30 deletions efcms-service/Dockerfile.serverless

This file was deleted.

8 changes: 0 additions & 8 deletions efcms-service/Dockerfile.shellcheck

This file was deleted.

25 changes: 0 additions & 25 deletions efcms-service/Dockerfile.smoketest

This file was deleted.

Loading