All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] contrib: hashserv: Dockerfile: Remove non-existent lib/codegen.py
@ 2026-05-11 15:36 Frieder Schrempf
  2026-05-11 15:36 ` [PATCH 2/2] contrib: hashserv: Dockerfile: Update base image Frieder Schrempf
  0 siblings, 1 reply; 3+ messages in thread
From: Frieder Schrempf @ 2026-05-11 15:36 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Frieder Schrempf

From: Frieder Schrempf <frieder.schrempf@kontron.de>

This file has been removed and is not required anymore.
Fix the Docker image build accordingly.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
 contrib/hashserv/Dockerfile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/contrib/hashserv/Dockerfile b/contrib/hashserv/Dockerfile
index aec1f86fc..fe7e091ec 100644
--- a/contrib/hashserv/Dockerfile
+++ b/contrib/hashserv/Dockerfile
@@ -16,7 +16,6 @@ RUN apk add --no-cache python3 libgcc
 COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
 COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
 COPY lib/bb /opt/bbhashserv/lib/bb/
-COPY lib/codegen.py /opt/bbhashserv/lib/codegen.py
 COPY lib/ply /opt/bbhashserv/lib/ply/
 COPY lib/bs4 /opt/bbhashserv/lib/bs4/
 
-- 
2.54.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] contrib: hashserv: Dockerfile: Update base image
  2026-05-11 15:36 [PATCH 1/2] contrib: hashserv: Dockerfile: Remove non-existent lib/codegen.py Frieder Schrempf
@ 2026-05-11 15:36 ` Frieder Schrempf
  2026-05-14 10:18   ` Paul Barker
  0 siblings, 1 reply; 3+ messages in thread
From: Frieder Schrempf @ 2026-05-11 15:36 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Frieder Schrempf

From: Frieder Schrempf <frieder.schrempf@kontron.de>

Alpine 3.13 is out-of-date and doesn't provide a Python version that
is comaptible with the current version of bitbake master. Fix this
by upgrading the alpine base image and installing the missing
websockets module.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
 contrib/hashserv/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/hashserv/Dockerfile b/contrib/hashserv/Dockerfile
index fe7e091ec..5c8b8dd11 100644
--- a/contrib/hashserv/Dockerfile
+++ b/contrib/hashserv/Dockerfile
@@ -9,9 +9,9 @@
 #   docker build -f contrib/hashserv/Dockerfile .
 #
 
-FROM alpine:3.13.1
+FROM alpine:3.23
 
-RUN apk add --no-cache python3 libgcc
+RUN apk add --no-cache python3 py3-websockets libgcc
 
 COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
 COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
-- 
2.54.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] contrib: hashserv: Dockerfile: Update base image
  2026-05-11 15:36 ` [PATCH 2/2] contrib: hashserv: Dockerfile: Update base image Frieder Schrempf
@ 2026-05-14 10:18   ` Paul Barker
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Barker @ 2026-05-14 10:18 UTC (permalink / raw)
  To: Frieder Schrempf, bitbake-devel; +Cc: Frieder Schrempf

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]

On Mon, 2026-05-11 at 17:36 +0200, Frieder Schrempf wrote:
> From: Frieder Schrempf <frieder.schrempf@kontron.de>
> 
> Alpine 3.13 is out-of-date and doesn't provide a Python version that
> is comaptible with the current version of bitbake master. Fix this
> by upgrading the alpine base image and installing the missing
> websockets module.
> 
> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
> ---
>  contrib/hashserv/Dockerfile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/contrib/hashserv/Dockerfile b/contrib/hashserv/Dockerfile
> index fe7e091ec..5c8b8dd11 100644
> --- a/contrib/hashserv/Dockerfile
> +++ b/contrib/hashserv/Dockerfile
> @@ -9,9 +9,9 @@
>  #   docker build -f contrib/hashserv/Dockerfile .
>  #
>  
> -FROM alpine:3.13.1
> +FROM alpine:3.23
>  
> -RUN apk add --no-cache python3 libgcc
> +RUN apk add --no-cache python3 py3-websockets libgcc
>  
>  COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
>  COPY lib/hashserv /opt/bbhashserv/lib/hashserv/

Thanks for sending this! Alpine 3.13 was end-of-life 3.5 years
ago [1]...

We also need to update the Dockerfile for prserv. I wonder if we should
just use alpine:latest in both of them.

[1]: https://endoflife.date/alpine-linux

Best regards,

-- 
Paul Barker


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-14 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 15:36 [PATCH 1/2] contrib: hashserv: Dockerfile: Remove non-existent lib/codegen.py Frieder Schrempf
2026-05-11 15:36 ` [PATCH 2/2] contrib: hashserv: Dockerfile: Update base image Frieder Schrempf
2026-05-14 10:18   ` Paul Barker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.