Fix Docker so it works with the extremely old ubuntu version we're stuck on #104

Closed
opened 2025-03-27 19:00:12 -07:00 by kzrl · 2 comments
Contributor
lucid: Pulling from library/ubuntu
[DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/library/ubuntu:lucid to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/

The old version of Ubuntu that we've been stuck on due to CakePHP 1.2 needing PHP5 has finally stopped being supported by Docker.

There are various workarounds for this, but we need to do some housekeeping to bring it up to date so it can run on a recent PHP version.

```karlcordes@kcmacair cmc-sales % docker pull ubuntu:lucid lucid: Pulling from library/ubuntu [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/library/ubuntu:lucid to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/ ``` The old version of Ubuntu that we've been stuck on due to CakePHP 1.2 needing PHP5 has finally stopped being supported by Docker. There are various workarounds for this, but we need to do some housekeeping to bring it up to date so it can run on a recent PHP version.
Author
Contributor

Got a couple options to resolve this:

Option 1:

Pull the old ubuntu:lucid image from docker using the old version on my other PC (current docker will not pull it).

Push it to ghcr.io , which should update it to schema v2.

Update Dockerfile to use new image.

Option 2:

Use current ubuntu docker image 24.04
Install PHP5.6 from the PPA

Fix everything else that's inevitably broken.

Option 1 is probably the quickest way to get it working on the most recent Docker version.

Got a couple options to resolve this: Option 1: Pull the old ubuntu:lucid image from docker using the old version on my other PC (current docker will not pull it). Push it to ghcr.io , which should update it to schema v2. Update Dockerfile to use new image. Option 2: Use current ubuntu docker image 24.04 Install PHP5.6 from the PPA Fix everything else that's inevitably broken. Option 1 is probably the quickest way to get it working on the most recent Docker version.
Author
Contributor

Fixed the image by pushing it to:
ghcr.io/kzrl/ubuntu:lucid

Fixed the image by pushing it to: ```ghcr.io/kzrl/ubuntu:lucid```
kzrl closed this issue 2025-04-01 20:39:57 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: springup/cmc-sales#104
No description provided.