#277 - add gcc, change dnf to yum (#278)

This commit is contained in:
Wayne Walker 2023-07-11 02:14:53 -05:00 committed by GitHub
parent 5eaad112b0
commit 864c83c1f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,8 +4,8 @@ ARG VER
FROM ${DISTRO}:${VER} as builder
LABEL stage=innernet-rpm
RUN dnf -y update && \
dnf -y install clang-devel sqlite-devel glibc-devel rpm-build && \
RUN yum -y update && \
yum -y install gcc clang-devel sqlite-devel glibc-devel rpm-build && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
WORKDIR /workdir