Commit b59f320e authored by Mark Abraham's avatar Mark Abraham
Browse files

remove l17-18 from Dockerfile

parent 0b2d73ca
Pipeline #179491 passed with stages
in 13 minutes and 1 second
......@@ -12,9 +12,9 @@ build:
stage: build
environment: $CI_COMMIT_REF_SLUG
script:
# - cp ./src/certs/* .
# - echo 'COPY *.crt /etc/pki/ca-trust/source/anchors/' >> Dockerfile
# - echo 'RUN chmod 644 /etc/pki/ca-trust/source/anchors/*.crt && update-ca-trust' >> Dockerfile
- cp ./src/certs/* .
- echo 'COPY *.crt /etc/pki/ca-trust/source/anchors/' >> Dockerfile
- echo 'RUN chmod 644 /etc/pki/ca-trust/source/anchors/*.crt && update-ca-trust' >> Dockerfile
- docker build -t ${CI_REGISTRY_IMAGE}/${CI_COMMIT_REF_SLUG} ./src/.
- docker push ${CI_REGISTRY_IMAGE}/${CI_COMMIT_REF_SLUG}
- docker rmi ${CI_REGISTRY_IMAGE}/${CI_COMMIT_REF_SLUG}
......
......@@ -14,9 +14,6 @@ RUN yum install -y epel-release; \
WORKDIR /var/www/web_reflectivity/app
COPY ./certs/*.crt /etc/pki/ca-trust/source/anchors/
RUN chmod 644 /etc/pki/ca-trust/source/anchors/*.crt && update-ca-trust
COPY . .
RUN python3 -m pip install --upgrade pip; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment