Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
Ercoin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Krzysztof Jurewicz
Ercoin
Commits
f72115dc
Commit
f72115dc
authored
Jan 07, 2018
by
Krzysztof Jurewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Docker files
parent
ba2c23ea
Pipeline
#17375025
passed with stage
in 6 minutes 6 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
1 deletion
+65
-1
.dockerignore
.dockerignore
+13
-0
.gitignore
.gitignore
+1
-0
.gitlab-ci.yml
.gitlab-ci.yml
+21
-1
Dockerfile
Dockerfile
+10
-0
docker-compose.yml
docker-compose.yml
+20
-0
No files found.
.dockerignore
0 → 100644
View file @
f72115dc
.git/
.eunit
deps
*.o
*.beam
*.plt
erl_crash.dump
ebin/
*.d
doc/*
_rel/*
.erlang.mk/
.gitignore
View file @
f72115dc
...
...
@@ -10,3 +10,4 @@ ebin/
*.d
doc/*
_rel/*
.erlang.mk/
.gitlab-ci.yml
View file @
f72115dc
stages
:
# - test
-
docker
image
:
erlang:20
test
:
variables
:
GIT_DEPTH
:
"
3"
.test
:
stage
:
test
before_script
:
# Workaround for https://github.com/ninenines/erlang.mk/issues/501
-
make plt || test $? -eq 2
script
:
-
make check
-
make rel
docker
:
stage
:
docker
image
:
docker:latest
script
:
-
docker build -t $CI_REGISTRY_IMAGE:latest .
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker push $CI_REGISTRY_IMAGE:latest
services
:
-
docker:dind
tags
:
-
docker
Dockerfile
0 → 100644
View file @
f72115dc
FROM
erlang:20
WORKDIR
/app
COPY
. /app
RUN
mkdir
-p
.erlang.mk
&&
make rel
EXPOSE
46658
CMD
["./_rel/ercoin_release/bin/ercoin_release", "foreground"]
docker-compose.yml
0 → 100644
View file @
f72115dc
version
:
"
3.1"
services
:
abci-server
:
image
:
ercoin:latest
environment
:
-
ERCOIN_HOME=/ercoin
ports
:
-
46658
volumes
:
-
${ERCOIN_HOME}:/ercoin
tendermint
:
image
:
tendermint/tendermint:0.15.0
ports
:
-
"
46656:46656"
-
"
46657:46657"
volumes
:
-
${ERCOIN_HOME}:/tendermint
links
:
-
abci-server
command
:
node --home /tendermint --proxy_app tcp://abci-server:46658
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