Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit 7e16017

Browse files
authored
Merge pull request #8 from xwu2git/master
alternative dockerfile naming convention
2 parents 11483a5 + 113d87d commit 7e16017

File tree

7 files changed

+4
-4
lines changed

7 files changed

+4
-4
lines changed

ad-insertion/video-analytics-service/update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DIR=$(dirname $(readlink -f "$0"))
66
DOCKER_REPO="https://raw.githubusercontent.com/OpenVisualCloud/Dockerfiles/v1.0/Xeon/ubuntu-18.04/dldt%2Bffmpeg"
77

88
base_name=xeon-ubuntu1804-dldt-ffmpeg-va
9-
docker_file="$DIR/Dockerfile.4"
9+
docker_file="$DIR/Dockerfile.4.ffmpeg"
1010

1111
echo "# "${base_name} > ${docker_file}
1212
curl ${DOCKER_REPO}/Dockerfile >> ${docker_file}
@@ -15,7 +15,7 @@ curl ${DOCKER_REPO}/Dockerfile >> ${docker_file}
1515
DOCKER_REPO="https://raw.githubusercontent.com/OpenVisualCloud/Dockerfiles/v1.0/Xeon/ubuntu-18.04/dldt%2Bgst"
1616

1717
base_name=xeon-ubuntu1804-dldt-gst-va
18-
docker_file="$DIR/Dockerfile.2"
18+
docker_file="$DIR/Dockerfile.2.gst"
1919

2020
echo "# "${base_name} > ${docker_file}
2121
curl ${DOCKER_REPO}/Dockerfile>> ${docker_file}

script/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ if test -z "${DIR}"; then
66
fi
77

88
# build image(s) in order (to satisfy dependencies)
9-
for dep in .8 .7 .6 .5 .4 .3 .2 .1 ''; do
10-
for dockerfile in `find "${DIR}" -name "Dockerfile*$dep" -print`; do
9+
for dep in '.8.*' '.7.*' '.6.*' '.5.*' '.4.*' '.3.*' '.2.*' '.1.*' ''; do
10+
for dockerfile in `find "${DIR}" -name "Dockerfile${dep}" -print`; do
1111
image=$(head -n 1 "$dockerfile" | grep '# ' | cut -d' ' -f2)
1212
if test -z "$image"; then image="$IMAGE"; fi
1313

0 commit comments

Comments
 (0)