Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reflectometry
Web Reflectivity
Commits
b59f320e
Commit
b59f320e
authored
Dec 09, 2021
by
Mark Abraham
Browse files
remove l17-18 from Dockerfile
parent
0b2d73ca
Pipeline
#179491
passed with stages
in 13 minutes and 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b59f320e
...
...
@@ -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}
...
...
src/Dockerfile
View file @
b59f320e
...
...
@@ -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
;
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment