Skript build_prod_image.sh

Automaticky generovaná dokumentace skriptu scripts/build_prod_image.sh.

1#!/bin/bash
2
3
4#Wrapper for building production image locally
5docker build -t test_prod -f Dockerfile --build-arg VERSION_APP="$(git rev-parse --short HEAD | head -c 8)" --build-arg TAG_APP=local_build  .
6docker build -t test_proxy -f proxy/Dockerfile --build-arg VERSION_APP="$(git rev-parse --short HEAD | head -c 8)" --build-arg TAG_APP=local_build  ./proxy
7docker build -t test_redis -f redis/Dockerfile --build-arg VERSION_APP="$(git rev-parse --short HEAD | head -c 8)" --build-arg TAG_APP=local_build  ./redis