sgraves/cpp-build-system_mac/pipeline/head There was a failure building this commit
112 lines
1.8 KiB
Plaintext
112 lines
1.8 KiB
Plaintext
#comment
|
|
FROM arm64v8/alpine:3.24.2
|
|
MAINTAINER Scott E. Graves <scott.e.graves@protonmail.com>
|
|
CMD bash
|
|
|
|
RUN apk update
|
|
RUN apk upgrade
|
|
RUN apk add \
|
|
7zip \
|
|
autoconf \
|
|
automake \
|
|
bash \
|
|
binutils \
|
|
binutils-dev \
|
|
bison \
|
|
boost-dev \
|
|
bzip2-static \
|
|
cmake \
|
|
curl \
|
|
diffutils \
|
|
elfutils-dev \
|
|
file \
|
|
fontconfig-dev \
|
|
fontconfig-static \
|
|
freetype \
|
|
freetype-dev \
|
|
freetype-static \
|
|
fuse3 \
|
|
fuse3-dev \
|
|
fuse3-static \
|
|
g++ \
|
|
gcc \
|
|
gflags \
|
|
gflags-dev \
|
|
git \
|
|
git-lfs \
|
|
libogg-dev \
|
|
libogg-static \
|
|
libtool \
|
|
libudev-zero \
|
|
libudev-zero-dev \
|
|
libunwind \
|
|
libunwind-dev \
|
|
libunwind-static \
|
|
liburing \
|
|
liburing-dev \
|
|
libvorbis-dev \
|
|
libvorbis-static \
|
|
libx11-dev \
|
|
libx11-static \
|
|
libxcursor \
|
|
libxcursor-dev \
|
|
libxrandr \
|
|
libxrandr-dev \
|
|
linux-headers \
|
|
make \
|
|
mesa \
|
|
mesa-dev \
|
|
meson \
|
|
musl-dev \
|
|
ninja \
|
|
openal-soft-dev \
|
|
openal-soft-libs \
|
|
openssl \
|
|
patch \
|
|
perl \
|
|
pkgconfig \
|
|
rsync \
|
|
tcl \
|
|
tcl-dev \
|
|
texinfo \
|
|
wget \
|
|
xz \
|
|
xz-dev \
|
|
xz-libs \
|
|
zlib \
|
|
zlib-dev \
|
|
zlib-static \
|
|
zstd \
|
|
zstd-dev \
|
|
zstd-libs \
|
|
zstd-static \
|
|
xz-static
|
|
|
|
RUN ln -sf /usr/bin/aclocal-1.18 /usr/bin/aclocal-1.16
|
|
RUN ln -sf /usr/bin/automake-1.18 /usr/bin/automake-1.16
|
|
|
|
ARG RUST_VERSION=stable
|
|
|
|
ENV RUSTUP_HOME=/opt/rustup
|
|
ENV CARGO_HOME=/opt/cargo
|
|
ENV PATH="/opt/cargo/bin:${PATH}"
|
|
|
|
RUN curl --proto '=https' --tlsv1.2 -fsSL \
|
|
https://sh.rustup.rs -o /tmp/rustup-init.sh \
|
|
&& sh /tmp/rustup-init.sh \
|
|
-y \
|
|
--no-modify-path \
|
|
--profile minimal \
|
|
--default-toolchain "${RUST_VERSION}" \
|
|
&& rm /tmp/rustup-init.sh
|
|
|
|
ARG GID
|
|
ARG UID
|
|
RUN chown -R "${UID}:${GID}" /opt/rustup
|
|
RUN chown -R "${UID}:${GID}" /opt/cargo
|
|
|
|
RUN rustc --version \
|
|
&& cargo --version \
|
|
&& rustup target list --installed
|
|
|