Update Hound to Use Python 3.11 Base Images
This commits update hound Dockerfile to use Python 3.11 images instead of older 3.9 one. It's part of the effort to update Python version to 3.10 or later. Change-Id: Idf5076709c55d3327c69c6e8160a8348b6640ca7
This commit is contained in:
parent
28905d028b
commit
9f86500913
@ -12,7 +12,7 @@
|
||||
# implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
FROM docker.io/opendevorg/python-base:3.9-bullseye AS builder
|
||||
FROM docker.io/opendevorg/python-base:3.11-bullseye AS builder
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
@ -25,7 +25,7 @@ RUN git clone https://github.com/hound-search/hound \
|
||||
&& cd hound \
|
||||
&& make
|
||||
|
||||
FROM docker.io/opendevorg/python-base:3.9-bullseye
|
||||
FROM docker.io/opendevorg/python-base:3.11-bullseye
|
||||
|
||||
COPY --from=builder /tmp/hound/.build/bin/hound /usr/local/bin
|
||||
COPY --from=builder /tmp/hound/.build/bin/houndd /usr/local/bin
|
||||
|
@ -2,7 +2,7 @@
|
||||
- job:
|
||||
name: system-config-build-image-hound
|
||||
description: Build a hound image.
|
||||
requires: python-base-3.9-bullseye-container-image
|
||||
requires: python-base-3.11-bullseye-container-image
|
||||
provides: hound-container-image
|
||||
parent: system-config-build-image
|
||||
vars: &hound_vars
|
||||
@ -15,7 +15,7 @@
|
||||
- job:
|
||||
name: system-config-upload-image-hound
|
||||
description: Build and upload a hound image.
|
||||
requires: python-base-3.9-bullseye-container-image
|
||||
requires: python-base-3.11-bullseye-container-image
|
||||
provides: hound-container-image
|
||||
parent: system-config-upload-image
|
||||
vars: *hound_vars
|
||||
|
@ -115,7 +115,7 @@
|
||||
- system-config-build-image-hound:
|
||||
dependencies:
|
||||
- name: opendev-buildset-registry
|
||||
- name: system-config-build-image-python-base-3.9-bullseye
|
||||
- name: system-config-build-image-python-base-3.11-bullseye
|
||||
soft: true
|
||||
- system-config-build-image-etherpad
|
||||
- system-config-build-image-mailman
|
||||
@ -260,7 +260,11 @@
|
||||
- name: opendev-buildset-registry
|
||||
- name: system-config-upload-image-jinja-init
|
||||
soft: true
|
||||
- system-config-upload-image-hound
|
||||
- system-config-upload-image-hound:
|
||||
dependencies:
|
||||
- name: opendev-buildset-registry
|
||||
- name: system-config-build-image-python-base-3.11-bullseye
|
||||
soft: true
|
||||
- system-config-upload-image-assets
|
||||
- system-config-upload-image-etherpad
|
||||
- system-config-upload-image-mailman
|
||||
|
Loading…
Reference in New Issue
Block a user