Skip to content

Commit 8efb319

Browse files
committed
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
1 parent 97d027c commit 8efb319

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.zuul.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@
174174
description: Build Docker images.
175175
allowed-projects: openstack/python-openstackclient
176176
requires:
177-
- python-builder-container-image
178-
- python-base-container-image
177+
- python-builder-3.7-container-image
178+
- python-base-3.7-container-image
179179
provides: osc-container-image
180180
vars: &osc_image_vars
181181
docker_images:
@@ -188,8 +188,8 @@
188188
description: Build Docker images and upload to Docker Hub.
189189
allowed-projects: openstack/python-openstackclient
190190
requires:
191-
- python-builder-container-image
192-
- python-base-container-image
191+
- python-builder-3.7-container-image
192+
- python-base-3.7-container-image
193193
provides: osc-container-image
194194
secrets:
195195
- name: docker_credentials

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
FROM docker.io/opendevorg/python-builder as builder
16+
FROM docker.io/opendevorg/python-builder:3.7 as builder
1717

1818
COPY . /tmp/src
1919
RUN assemble
2020

21-
FROM docker.io/opendevorg/python-base
21+
FROM docker.io/opendevorg/python-base:3.7
2222

2323
COPY --from=builder /output/ /output
2424
RUN /output/install-from-bindep

0 commit comments

Comments
 (0)