Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This guide assumes that Git and Docker are both installed.

In a terminal, perform the following to build

Building
git clone https://github.com/UnionVMS/UVMS-Docker
cd UVMS-Docker
docker build --no-cache -t nexus.focus.fish:9081/uvms/postgres-release:<VERSION> -t nexus.focus.fish:9081/uvms/postgres-release:latest postgres-release
docker build --no-cache -t nexus.focus.fish:9081/uvms/wildfly-release:<VERSION> -t nexus.focus.fish:9081/uvms/wildfly-release:latest wildfly-release

To release you first need to have built the image, as above, then in a terminal:

Releasing
docker login -u <USER NAME> -p <PASSWORD> nexus.focus.fish:9081
docker push nexus.focus.fish:9081/uvms/postgres-release:3.0.0 && docker push nexus.focus.fish:9081/uvms/postgres-release:latest
docker push nexus.focus.fish:9081/uvms/wildfly-release:3.0.0 && docker push nexus.focus.fish:9081/uvms/wildfly-release:latest

These steps will build and push the release images to the Focus Nexus from which they can be pulled.

  • No labels