diff options
| author | Monty Taylor <mordred@inaugust.com> | 2020-03-26 08:48:20 -0500 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2020-03-26 08:48:20 -0500 |
| commit | 8efb319819534545a63c57e98ef8446becdb94c2 (patch) | |
| tree | ab4b60cbf88197735dbce1b7b0751b1b600a29c1 | |
| parent | 97d027caecdb977779ff130bb9ee2b3204c5646c (diff) | |
| download | python-openstackclient-8efb319819534545a63c57e98ef8446becdb94c2.tar.gz | |
Be explicit about python version in image
python-base has versions available now, defaulting to 3.7. Update
our config to 3.7 to be explicit about what we're using. This will
let us update the version as we feel like.
Change-Id: I40ffde91808a8bb95479697b9127dba16de8a8cd
| -rw-r--r-- | .zuul.yaml | 8 | ||||
| -rw-r--r-- | Dockerfile | 4 |
2 files changed, 6 insertions, 6 deletions
@@ -174,8 +174,8 @@ description: Build Docker images. allowed-projects: openstack/python-openstackclient requires: - - python-builder-container-image - - python-base-container-image + - python-builder-3.7-container-image + - python-base-3.7-container-image provides: osc-container-image vars: &osc_image_vars docker_images: @@ -188,8 +188,8 @@ description: Build Docker images and upload to Docker Hub. allowed-projects: openstack/python-openstackclient requires: - - python-builder-container-image - - python-base-container-image + - python-builder-3.7-container-image + - python-base-3.7-container-image provides: osc-container-image secrets: - name: docker_credentials @@ -13,12 +13,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM docker.io/opendevorg/python-builder as builder +FROM docker.io/opendevorg/python-builder:3.7 as builder COPY . /tmp/src RUN assemble -FROM docker.io/opendevorg/python-base +FROM docker.io/opendevorg/python-base:3.7 COPY --from=builder /output/ /output RUN /output/install-from-bindep |
