Florian Dambrine - Senior Devops Engineer @GumGum
baseline
python
java
nodejs
tomcat
Build tools | |
Inherits from |
python
Jenkins pipelines continuously integrate and deploy base images to ECR (Docker registry)
2
python
3
push
push
### Application Builder Image
FROM <image>-builder:latest
MAINTAINER team-name <team-name@gumgum.com>
# Your App builds here
...
##################################################
### Production Application
FROM <image>:latest
MAINTAINER team-name <team-name@gumgum.com>
# /!\ App deps if needed but no Build tools /!\
...
# Copy previously built code
COPY --from=0 /code /app
# Copy previously installed deps
COPY --from=0 /venv /venv
ECS Cluster
<feature-1>
<feature-2>
<dev>
<stage>
<master>
app.gumgum.com
stage.va.ggops.com
dev.va.ggops.com
feature-2.dev.va.ggops.com
feature-1.dev.va.ggops.com
commit
build
test
deploy
app/
├── ...
├── Dockerfile
└── Jenkinsfile