Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
6f135e1b
Commit
6f135e1b
authored
Nov 04, 2018
by
Steffen Vogel
🎅🏼
Browse files
docker: fix version detection during docker build process
parent
2bbe3ae8
Changes
3
Hide whitespace changes
Inline
Side-by-side
.dockerignore
View file @
6f135e1b
build*
Dependencies/libcps/build*
.git/
Packaging/
.gitlab-ci.yml
View file @
6f135e1b
...
...
@@ -95,6 +95,10 @@ build:docker:
-
docker build
--file Packaging/Docker/Dockerfile
--build-arg DOCKER_TAG=${DOCKER_TAG}
--build-arg CI=1
--build-arg CI_COMMIT_SHA=${CI_COMMIT_SHA}
--build-arg CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME}
--build-arg CI_COMMIT_TAG=${CI_COMMIT_TAG}
--tag ${DOCKER_IMAGE}:${DOCKER_TAG}
--tag ${DOCKER_IMAGE}:latest .
tags
:
...
...
Packaging/Docker/Dockerfile
View file @
6f135e1b
# rwthacs/dpsim-dev is built by dpsim-git/Packaging/Docker/Dockerfile.dev
ARG
DOCKER_TAG=latest
ARG
CI
ARG
CI_COMMIT_SHA
ARG
CI_COMMIT_REF_NAME
ARG
CI_COMMIT_TAG
FROM
rwthacs/dpsim-dev:${DOCKER_TAG}
AS
builder
COPY
. /dpsim/
...
...
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