mirror of
https://github.com/yarrick/iodine.git
synced 2025-07-28 19:42:50 +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
|
FROM ubuntu:24.04
|
||||||
RUN apk add --no-cache \
|
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
RUN apt-get install -y \
|
||||||
gcc \
|
gcc \
|
||||||
git \
|
git \
|
||||||
|
libz-dev \
|
||||||
make \
|
make \
|
||||||
pkgconfig \
|
pkg-config
|
||||||
zlib-dev
|
|
||||||
|
RUN apt-get clean
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
RUN git clone https://github.com/yarrick/iodine /app/
|
COPY . /app/
|
||||||
|
|
||||||
RUN make
|
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
|
FROM ubuntu:24.04
|
||||||
RUN apk add --no-cache \
|
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
RUN apt-get install -y \
|
||||||
gcc \
|
gcc \
|
||||||
git \
|
git \
|
||||||
|
libz-dev \
|
||||||
make \
|
make \
|
||||||
pkgconfig \
|
pkg-config
|
||||||
zlib-dev
|
|
||||||
|
RUN apt-get clean
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
RUN git clone https://github.com/yarrick/iodine /app/
|
COPY . /app/
|
||||||
|
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue