Skip to content

Commit

Permalink
package: update base image to get the latest changes
Browse files Browse the repository at this point in the history
Signed-off-by: Mohamed Eldafrawi <mohamed.eldafrawi@rancher.com>
  • Loading branch information
Mohamed Eldafrawi authored and yasker committed Dec 17, 2020
1 parent 306c452 commit 0dcdcdd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ IMAGE=${REPO}/${PROJECT}:${TAG}

cp /usr/src/tgt/pkg/tgt_*.deb ./bin/

# update base image to get latest changes
BASE_IMAGE=`grep FROM package/Dockerfile | awk '{print $2}'`
docker pull ${BASE_IMAGE}

docker build --build-arg ARCH=${ARCH} -t ${IMAGE} -f package/Dockerfile .

echo Built ${IMAGE}
Expand Down

0 comments on commit 0dcdcdd

Please sign in to comment.