Push a docker build setup
This commit is contained in:
parent
995674f5e4
commit
fd6feb4084
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: push custom alerta-web container
|
||||
steps:
|
||||
- name: build container
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_reg_username
|
||||
password:
|
||||
from_secret: docker_reg_passwd
|
||||
repo: decentral1se/alerta
|
||||
tags: 8.3.3
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
|
@ -0,0 +1,15 @@
|
|||
FROM alerta/alerta-web:8.3.3
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
RUN /venv/bin/pip install git+https://github.com/alerta/alerta-contrib.git#subdirectory=integrations/mailer
|
||||
|
||||
RUN /venv/bin/pip install git+https://github.com/alerta/alerta-contrib.git#subdirectory=plugins/rocketchat
|
||||
|
||||
COPY . ${WORKDIR}
|
||||
|
||||
COPY sbin/* /sbin/
|
||||
|
||||
ENTRYPOINT ["/sbin/entrypoint.sh"]
|
||||
|
||||
CMD ["supervisord", "-c", "/app/supervisord.conf"]
|
Reference in New Issue