From 01a1156ad742606b24d6d46d5747e75aa41f3411 Mon Sep 17 00:00:00 2001 From: Tech0ne Date: Tue, 1 Jul 2025 09:49:58 +0200 Subject: [PATCH] feat: moved base image from alpine to ubuntu; fixed build issues --- Dockerfile.client | 27 +++++++++++++++++++++------ Dockerfile.server | 25 +++++++++++++++++++------ 2 files changed, 40 insertions(+), 12 deletions(-) diff --git a/Dockerfile.client b/Dockerfile.client index eb9a78f..23e0a01 100644 --- a/Dockerfile.client +++ b/Dockerfile.client @@ -6,19 +6,34 @@ # ############## -FROM alpine:3.22.0 +# FROM alpine:3.22.0 +# +# RUN apk update +# RUN apk add --no-cache \ +# gcc \ +# git \ +# linux-headers \ +# make \ +# musl-dev \ +# pkgconfig \ +# zlib-dev -RUN apk update -RUN apk add --no-cache \ +FROM ubuntu:24.04 + +RUN apt-get update + +RUN apt-get install -y \ gcc \ git \ + libz-dev \ make \ - pkgconfig \ - zlib-dev + pkg-config + +RUN apt-get clean WORKDIR /app/ -RUN git clone https://github.com/yarrick/iodine /app/ +COPY . /app/ RUN make diff --git a/Dockerfile.server b/Dockerfile.server index a1d1d72..41de5b3 100644 --- a/Dockerfile.server +++ b/Dockerfile.server @@ -6,19 +6,32 @@ # ############## -FROM alpine:3.22.0 +# FROM alpine:3.22.0 +# +# RUN apk update +# RUN apk add --no-cache \ +# gcc \ +# make \ +# musl-dev \ +# pkgconfig \ +# zlib-dev -RUN apk update -RUN apk add --no-cache \ +FROM ubuntu:24.04 + +RUN apt-get update + +RUN apt-get install -y \ gcc \ git \ + libz-dev \ make \ - pkgconfig \ - zlib-dev + pkg-config + +RUN apt-get clean WORKDIR /app/ -RUN git clone https://github.com/yarrick/iodine /app/ +COPY . /app/ RUN make