Build versioned docker images.
[?]
Jun 15, 2017, 1:36 PM
SOIAMXLWIB5RIEMKXUFMBSE2SKQQTMHYSW3DKUX6GEV4VNOQVHAQCDependencies
- [2]
HO2PFRABClient login now handles response correctly. - [3]
DXIGERDTChange order of Docker build to avoid rebuilding the universe. - [4]
4ZLEDBK7Initial attempts at dockerizing, cabal isn't cooperating. - [5]
LEINLS3XUpdate deployment documentation. - [6]
EW2XN7KUUpdate docker build, clean up migration for payments tables.
Change contents
- replacement in Dockerfile at line 25
RUN npm install -g npmRUN npm install -g npm bower pulp - replacement in Dockerfile at line 62
ADD ./client /opt/aftok/clientWORKDIR /opt/aftok/clientRUN npm installRUN bower installRUN pulp buildRUN pulp browserify --optimise --to dist/aftok.jsADD ./dist /opt/aftok/server/static#ADD ./client /opt/aftok/client#WORKDIR /opt/aftok/client#RUN npm install#ENV PATH=./node_modules/.bin:${PATH}##RUN bower --allow-root install#RUN pulp build#RUN pulp browserify --optimise --to dist/aftok.js#ADD ./dist /opt/aftok/server/static - replacement in Makefile at line 1
build-container:sudo docker build -t aftok/aftok:latest .VERSION=$(shell git describe)build-image:docker build -t nuttycom/aftok:latest .deploy-image: build-imagedocker tag nuttycom/aftok:latest nuttycom/aftok:$(VERSION)docker push docker.io/nuttycom/aftok:$(VERSION) - replacement in Makefile at line 11
sudo docker run --net=host -it -v /home/nuttycom/projects/aftok/local/conf/:/etc/aftok aftok/aftok:latestdocker run --net=host -it -v /home/nuttycom/projects/aftok/local/conf/:/etc/aftok aftok/aftok:latest