File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020# Apache OpenWhisk Docker Runtime Container
2121
22- ## 1.3.3
22+ ## Apache 1.13.0 (next release)
23+ Changes:
24+ - Update base python image to ` python:3.6-alpine `
25+
26+ ## 1.3.3 (Apache 1.12.0)
2327Changes:
2428 - Update run handler to accept more environment variables [ #55 ] ( https://github.com/apache/incubator-openwhisk-runtime-docker/pull/55 )
2529
Original file line number Diff line number Diff line change 1616#
1717
1818# Dockerfile for docker skeleton (useful for running blackbox binaries, scripts, or Python 3 actions) .
19- FROM python:3.6.1 -alpine
19+ FROM python:3.6-alpine
2020
2121# Upgrade and install basic Python dependencies.
2222RUN apk upgrade --update \
Original file line number Diff line number Diff line change @@ -47,6 +47,15 @@ if [[ ! -z ${GRADLE_BUILD} ]] && [[ ! -z ${IMAGE_PREFIX} ]] && [[ ! -z ${IMAGE_T
4747 -PdockerRegistry=docker.io \
4848 -PdockerImagePrefix=${IMAGE_PREFIX} \
4949 -PdockerImageTag=${IMAGE_TAG}
50- fi
5150
51+ # if doing latest also push a tag with the hash commit
52+ if [ ${IMAGE_TAG} == " latest" ]; then
53+ SHORT_COMMIT=` git rev-parse --short HEAD`
54+ TERM=dumb ./gradlew \
55+ ${GRADLE_BUILD} \
56+ -PdockerRegistry=docker.io \
57+ -PdockerImagePrefix=${IMAGE_PREFIX} \
58+ -PdockerImageTag=${SHORT_COMMIT}
59+ fi
5260
61+ fi
You can’t perform that action at this time.
0 commit comments