Skip to content

Commit

Permalink
Update base image for glibc Linux docker images (#4100)
Browse files Browse the repository at this point in the history
Closes #4098
  • Loading branch information
SeanTAllen authored May 3, 2022
1 parent 51fe354 commit 9eddece
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .dockerfiles/latest/x86-64-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

ENV PATH "/root/.local/share/ponyup/bin:$PATH"

Expand All @@ -13,7 +13,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

RUN sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh)" \
&& ponyup update ponyc nightly --platform=ubuntu20.04 \
&& ponyup update ponyc nightly --platform=ubuntu22.04 \
&& ponyup update stable nightly \
&& ponyup update corral nightly \
&& ponyup update changelog-tool nightly
Expand Down
4 changes: 2 additions & 2 deletions .dockerfiles/release/x86-64-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

ENV PATH "/root/.local/share/ponyup/bin:$PATH"

Expand All @@ -13,7 +13,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

RUN sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh)" \
&& ponyup update ponyc release --platform=ubuntu20.04 \
&& ponyup update ponyc release --platform=ubuntu22.04 \
&& ponyup update stable release \
&& ponyup update corral release \
&& ponyup update changelog-tool release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloudsmith-package-sychronised.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
build-latest-gnu-docker-image:
if: |
github.event.client_payload.data.repository == 'nightlies' &&
github.event.client_payload.data.name == 'ponyc-x86-64-unknown-linux-ubuntu20.04.tar.gz'
github.event.client_payload.data.name == 'ponyc-x86-64-unknown-linux-ubuntu22.04.tar.gz'
name: Build latest GNU Docker image
runs-on: ubuntu-latest
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
build-release-gnu-docker-image:
if: |
github.event.client_payload.data.repository == 'releases' &&
github.event.client_payload.data.name == 'ponyc-x86-64-unknown-linux-ubuntu20.04.tar.gz'
github.event.client_payload.data.name == 'ponyc-x86-64-unknown-linux-ubuntu22.04.tar.gz'
name: Build release GNU Docker image
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .release-notes/4098.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Update glibc Linux Docker base image

Previously our glibc Linux Docker images where based on Ubuntu 20.04. They've been updated to use Ubuntu 22.04.

0 comments on commit 9eddece

Please sign in to comment.