Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependabot suggests changing distro from alpine to ubuntu #11310

Open
1 task done
gmile opened this issue Jan 15, 2025 · 0 comments
Open
1 task done

Dependabot suggests changing distro from alpine to ubuntu #11310

gmile opened this issue Jan 15, 2025 · 0 comments
Labels
L: docker Docker containers L: elixir:hex Elixir packages via hex T: bug 🐞 Something isn't working

Comments

@gmile
Copy link

gmile commented Jan 15, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

Docker

Package manager version

No response

Language version

Dockerfile

Manifest location and content before the Dependabot update

Dockerfile (can't share the content)

dependabot.yml content

version: 2
updates:
  - package-ecosystem: "mix"
    directory: "/"
    schedule:
      interval: "weekly"

  - package-ecosystem: "docker"
    directory: "/"
    schedule:
      interval: "weekly"

Updated dependency

From:

hexpm/elixir:1.18.1-erlang-27.2-alpine-3.21.0

To:

hexpm/elixir:1.18.1-erlang-27.2-ubuntu-noble-20241118.1

What you expected to see, versus what you actually saw

I expected an upgrade from:

hexpm/elixir:1.18.1-erlang-27.2-alpine-3.21.0

...to a recent Alpine patch version, for example:

hexpm/elixir:1.18.1-erlang-27.2-alpine-3.21.2

Here's what I saw - this a patch submitted by dependabot:

From 99b55edae7902d9417e27beb78e3f54cf1c344ec Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 13 Jan 2025 03:30:17 +0000
Subject: [PATCH] Bump hexpm/elixir

Bumps hexpm/elixir from 1.18.1-erlang-27.2-alpine-3.21.0 to 1.18.1-erlang-27.2-ubuntu-noble-20241118.1.

---
updated-dependencies:
- dependency-name: hexpm/elixir
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
---
 Dockerfile     | 2 +-
 Dockerfile.dev | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index a7aac9a1b..1c6e09293 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM hexpm/elixir:1.18.1-erlang-27.2-alpine-3.21.0 AS build
+FROM hexpm/elixir:1.18.1-erlang-27.2-ubuntu-noble-20241118.1 AS build
 WORKDIR /app
 RUN apk add --update git libc-dev gcc make
 ENV MIX_ENV=prod
diff --git a/Dockerfile.dev b/Dockerfile.dev
index 6b64e9e86..3756ac83a 100644
--- a/Dockerfile.dev
+++ b/Dockerfile.dev
@@ -1,4 +1,4 @@
-FROM hexpm/elixir:1.18.1-erlang-27.2-alpine-3.21.0 AS build
+FROM hexpm/elixir:1.18.1-erlang-27.2-ubuntu-noble-20241118.1 AS build
 WORKDIR /app
 RUN apk add --update git libc-dev gcc make
 ENV MIX_ENV=dev

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

@gmile gmile added the T: bug 🐞 Something isn't working label Jan 15, 2025
@github-actions github-actions bot added L: elixir:hex Elixir packages via hex L: docker Docker containers labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: docker Docker containers L: elixir:hex Elixir packages via hex T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant