Skip to content

Commit

Permalink
Fixed docker image build on script/robot-release script (cloudendpoin…
Browse files Browse the repository at this point in the history
…ts#397)

* Upgrade docker to the latest version

Signed-off-by: Jae Kim <jaebong.kim@gmail.com>

* Reverted latest docker image build changes

* Merged sed commands

* Reverted unnecessary changes
  • Loading branch information
mangchiandjjoe committed May 30, 2018
1 parent 2eb5a88 commit 8534d96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/linux-build-docker
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ if [[ "${PLATFORM}" == "flex" ]]; then
# Update the Dockerfile to use local deb image
DIMG="endpoints-runtime.deb"
sed -i -e "s|endpoints-runtime||" \
-e 's|ARG BASE_IMAGE_TAG=latest||' \
-e 's|${BASE_IMAGE_TAG}|latest|' \
-e "s|EXPOSE 8080|\nADD ${DIMG} ${DIMG}\nRUN apt-get update --fix-missing -qq \&\& \\\ \n apt-get install -qqy python \&\& \\\ \n dpkg -i /${DIMG}\n&|" \
"$FLEX_DIR/nginx_proxy/Dockerfile"
DOCKERFILE_PATH="$FLEX_DIR/nginx_proxy"
Expand Down

0 comments on commit 8534d96

Please sign in to comment.