Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michel Roelofs
dt_ctrl
Commits
0b73cb2e
Commit
0b73cb2e
authored
May 09, 2021
by
Michel Roelofs
Browse files
test7
parent
ee93f74f
Pipeline
#66
failed with stage
in 2 minutes and 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0b73cb2e
...
...
@@ -17,5 +17,5 @@ build:
KANIKOCFG="${KANIKOCFG} }"
echo "${KANIKOCFG}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile $KANIKOPROXYBUILDARGS --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
only
:
-
tags
#
only:
#
- tags
Dockerfile
View file @
0b73cb2e
...
...
@@ -26,17 +26,16 @@ RUN apt -y update && apt -y install screen libwebsockets8 libglib2.0-0 libmagic-
RUN
chmod
a+rwx /root
RUN
mkdir
-p
/var/www/console
/var/www/console/js
RUN
mkdir
-p
/var/www/console
RUN
rm
-rf
/var/www/console/
*
#COPY --from=builder /root/dt_ctrl/console/js /var/www/console/js
COPY
--from=builder /root/dt_ctrl/console/htdocs /var/www/console/htdocs
COPY
--from=builder /var/www/console/htdocs/tle /var/www/console/htdocs/tle
COPY
--from=builder /root/dt_ctrl /root/dt_ctrl
COPY
--from=builder /usr/local/lib /usr/local/lib
RUN
ls
-l
/var/www/console
RUN
ln
-s
/root/dt_ctrl/console/js
/
*
/var/www/console/js
/
RUN
ln
-s
/root/dt_ctrl/console/js /var/www/console/js
#RUN ln -s /root/dt_ctrl/console/htdocs* /var/www/console/htdocs/
RUN
ldconfig
...
...
Write
Preview
Supports
Markdown
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