Skip to content

Commit

Permalink
Merge pull request #12 from tlm/update-image-base
Browse files Browse the repository at this point in the history
[JUJU-2837] Update Docker base images to new repo.
  • Loading branch information
wallyworld authored Feb 16, 2023
2 parents 4c18729 + b308c43 commit 9b79ca3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Dockerfile-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
ARG BASE_IMAGE
FROM $BASE_IMAGE

# Python dependencies.
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
RUN apt-get update

RUN apt-get install -y --no-install-recommends \
python3-yaml \
python3-pip \
python3-distutils \
Expand All @@ -15,7 +15,7 @@ RUN apt-get update \
# below apt dependencies are required by controller pod.
iproute2 \
curl \
&& pip3 install --upgrade pip setuptools \
&& pip3 install --upgrade pip setuptools \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /root/.cache

Expand Down
8 changes: 3 additions & 5 deletions images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ images:
- linux/amd64
- linux/ppc64le
- linux/s390x
- linux/riscv64
build_args:
- "BASE_IMAGE=ubuntu:22.04"
- "BASE_IMAGE=public.ecr.aws/ubuntu/ubuntu:22.04"
juju_test_channel: 3.0/stable
microk8s_test_channel: 1.25-strict/stable
series: jammy
Expand All @@ -33,9 +32,8 @@ images:
- linux/amd64
- linux/ppc64le
- linux/s390x
- linux/riscv64
build_args:
- "BASE_IMAGE=ubuntu:20.04"
- "BASE_IMAGE=public.ecr.aws/ubuntu/ubuntu:20.04"
juju_test_channel: 2.9/stable
microk8s_test_channel: 1.25/stable
series: focal
Expand All @@ -54,7 +52,7 @@ images:
- linux/ppc64le
- linux/s390x
build_args:
- "BASE_IMAGE=ubuntu:18.04"
- "BASE_IMAGE=public.ecr.aws/ubuntu/ubuntu:18.04"
juju_test_channel: 2.9/stable
microk8s_test_channel: 1.25/stable
series: bionic

0 comments on commit 9b79ca3

Please sign in to comment.