summaryrefslogtreecommitdiffstats
path: root/boot/uui_vm_init.sh
blob: 630293d16c40e19e5941844cbe08b3ba70453d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# Establish environment variables
NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
DOCKER_IMAGE_VERSION=$(cat /opt/config/uui_docker.txt)

# Refresh images
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO

# Insert docker run instructions here