feat: moved base image from alpine to ubuntu; fixed build issues

This commit is contained in:
Tech0ne 2025-07-01 09:49:58 +02:00
parent b6b5f29416
commit 01a1156ad7
2 changed files with 40 additions and 12 deletions

View file

@ -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

View file

@ -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