Browse Source

Merge "Update the docker image to python3.9 and buster"

master
Zuul 4 months ago committed by Gerrit Code Review
parent
commit
76324ab5fa
  1. 8
      .zuul.yaml
  2. 4
      Dockerfile

8
.zuul.yaml

@ -19,8 +19,8 @@
parent: opendev-build-docker-image
description: Build OpenDev Docker images for gear
requires:
- python-base-container-image
- python-builder-container-image
- python-base-3.9-bullseye-container-image
- python-builder-3.9-bullseye-container-image
provides: gear-container-image
vars: &gear_opendev_image_vars
zuul_work_dir: src/opendev.org/opendev/gear
@ -34,8 +34,8 @@
parent: opendev-upload-docker-image
description: Build OpenDev gear Docker images and upload to Docker Hub.
requires:
- python-base-container-image
- python-builder-container-image
- python-base-3.9-bullseye-container-image
- python-builder-3.9-bullseye-container-image
provides: gear-container-image
vars: *gear_opendev_image_vars
secrets:

4
Dockerfile

@ -13,12 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM opendevorg/python-builder as builder
FROM opendevorg/python-builder:3.9-bullseye as builder
COPY . /tmp/src
RUN assemble
FROM opendevorg/python-base as geard
FROM opendevorg/python-base:3.9-bullseye as geard
COPY --from=builder /output/ /output
RUN /output/install-from-bindep

Loading…
Cancel
Save