Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Godshell
phpTodo
Commits
b6facc28
Commit
b6facc28
authored
Feb 15, 2019
by
Jason Frisvold
Browse files
- ADD needs to be relative to current directory
parent
3cb9ea3a
Pipeline
#413
failed with stages
in 17 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.dockerignore
View file @
b6facc28
.git*
Dockerfile
sonar-project.properties
*.tar.gz
Smarty
.gitlab-ci.yml
View file @
b6facc28
...
...
@@ -23,7 +23,7 @@ dockerize:
-
curl -LO https://github.com/smarty-php/smarty/archive/v{$SMARTYVER}.tar.gz
-
tar zxf v$SMARTYVER.tar.gz
-
rm v$SMARTYVER.tar.gz
-
mv smarty-$SMARTYVER
/
Smarty
-
mv smarty-$SMARTYVER Smarty
-
docker build --build-arg GIT_HASH=$CI_COMMIT_SHA
-t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA -t $CI_REGISTRY_IMAGE:latest
-f Dockerfile .
...
...
Dockerfile
View file @
b6facc28
...
...
@@ -21,6 +21,6 @@ RUN docker-php-ext-install mysqli \
ADD
. /var/www/html
ADD
/
Smarty /var/www/Smarty
ADD
Smarty /var/www/Smarty
EXPOSE
80
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