File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
# ###As some images use "-march=native -mtune=native" we need to build these below images locally and push to docker
2
2
VERSION=" "
3
3
4
+ # ./build-all-te-images.sh "7.0" > build.log 2>&1 &
5
+
4
6
if [ ! -z " $1 " ]
5
7
then
6
8
VERSION=$1
Original file line number Diff line number Diff line change 1
1
# ###As some images use "-march=native -mtune=native" we need to build these below images locally and push to docker
2
2
VERSION=" "
3
3
4
+ # ./build-te-images.sh "7.0" > build.log 2>&1 &
5
+
4
6
if [ ! -z " $1 " ]
5
7
then
6
8
VERSION=$1
@@ -27,7 +29,7 @@ find . -type f -name '*.dockerfile' | xargs sed -i'' -e "s|-base-2:6.0|-base-2:$
27
29
find . -type f -name ' *.dockerfile' | xargs sed -i' ' -e " s|version=\" 6.0\" |version=\" ${VERSION} \" |g"
28
30
29
31
docker rmi -f sumeetchhetri/ffead-cpp-base:${VERSION}
30
- # DOCKER_BUILDKIT=0
32
+ # DOCKER_BUILDKIT=0 ---- --no-cache
31
33
docker build --ulimit memlock=102400000:102400000 --progress plain -f ffead-cpp-base.dockerfile -t sumeetchhetri/ffead-cpp-base:${VERSION} .
32
34
docker push sumeetchhetri/ffead-cpp-base:${VERSION}
33
35
You can’t perform that action at this time.
0 commit comments