- ansible docker images
- ansible play for cleaning hosts (apt autoremove) - mondrian(incomplete) - lock postgres to version 10 - update jenkins dockerfile
This commit is contained in:
10
dockerfiles/tasks/mondrian/Dockerfile
Normal file
10
dockerfiles/tasks/mondrian/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
# docker build --rm -f Dockerfile -t mondrian:latest .
|
||||
FROM dkregistry.xai-corp.net:5000/xaicorp/php:7.2-dev
|
||||
MAINTAINER Richard Morgan <r_morgan@sympatico.ca>
|
||||
|
||||
|
||||
RUN apt-get update && apt-get install -y wget \
|
||||
&& wget https://github.com/Trismegiste/Mondrian/raw/master/bin/box/mondrian.phar \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
CMD ["mondrian.phar"]
|
||||
7
dockerfiles/tasks/mondrian/build.sh
Normal file
7
dockerfiles/tasks/mondrian/build.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY
|
||||
|
||||
docker build --rm -f Dockerfile -t mondrian:latest .
|
||||
docker run --rm mondrian:latest --version | grep 'Mondrian'
|
||||
docker tag mondrian:latest dkregistry.xai-corp.net:5000/xaicorp/qa/mondrian:latest
|
||||
docker push dkregistry.xai-corp.net:5000/xaicorp/qa/mondrian:latest
|
||||
Reference in New Issue
Block a user