Update docker image to bullseye

This updates us to bullseye on our docker image.

Change-Id: Id7d4bcee76de84c55f15d2f9ee6970bc5f29bd0a
This commit is contained in:
Clark Boylan 2021-11-18 15:23:04 -08:00
parent 3497425ff4
commit 4492ccf01c
2 changed files with 8 additions and 2 deletions

View File

@ -19,6 +19,9 @@
parent: opendev-build-docker-image parent: opendev-build-docker-image
description: Build OpenDev Docker images for storyboard webclient description: Build OpenDev Docker images for storyboard webclient
provides: gerritbot-container-image provides: gerritbot-container-image
requires:
- python-builder-3.8-bullseye-container-image
- python-base-3.8-bullseye-container-image
required-projects: &gerritbot_opendev_required_projects required-projects: &gerritbot_opendev_required_projects
- opendev/gerritlib - opendev/gerritlib
vars: &gerritbot_opendev_image_vars vars: &gerritbot_opendev_image_vars
@ -35,6 +38,9 @@
parent: opendev-upload-docker-image parent: opendev-upload-docker-image
description: Build OpenDev gerritbot Docker images and upload to Docker Hub. description: Build OpenDev gerritbot Docker images and upload to Docker Hub.
provides: gerritbot-container-image provides: gerritbot-container-image
requires:
- python-builder-3.8-bullseye-container-image
- python-base-3.8-bullseye-container-image
required-projects: *gerritbot_opendev_required_projects required-projects: *gerritbot_opendev_required_projects
vars: *gerritbot_opendev_image_vars vars: *gerritbot_opendev_image_vars
secrets: secrets:

View File

@ -13,12 +13,12 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this software. If not, see <http://www.gnu.org/licenses/>. # along with this software. If not, see <http://www.gnu.org/licenses/>.
FROM opendevorg/python-builder:3.8 as builder FROM opendevorg/python-builder:3.8-bullseye as builder
COPY . /tmp/src COPY . /tmp/src
RUN assemble RUN assemble
FROM opendevorg/python-base:3.8 as gerritbot FROM opendevorg/python-base:3.8-bullseye as gerritbot
COPY --from=builder /output/ /output COPY --from=builder /output/ /output
RUN /output/install-from-bindep RUN /output/install-from-bindep