mirror of
https://github.com/yarrick/iodine.git
synced 2025-07-27 03:02:49 +02:00
feat: moved base image from alpine to ubuntu; fixed build issues
This commit is contained in:
parent
b6b5f29416
commit
01a1156ad7
2 changed files with 40 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue