diff --git a/naev-linux-latest/Dockerfile b/naev-linux-latest/Dockerfile deleted file mode 100644 index 384b2bd..0000000 --- a/naev-linux-latest/Dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -# Build luarocks in build container to save space. -FROM registry.fedoraproject.org/fedora-minimal:latest AS build - -WORKDIR /tmp -# Install luarocks deps -RUN microdnf --nodocs --setopt=install_weak_deps=0 -y install findutils gcc gzip lua lua-devel make ncurses-devel libevent-devel readline-devel tar xz unzip && \ - microdnf clean all && \ -# Build luarocks - curl -L -O https://luarocks.org/releases/luarocks-3.8.0.tar.gz && \ - tar zxpf luarocks-3.8.0.tar.gz && \ - cd luarocks-3.8.0 && \ - ./configure --prefix=/opt/luarocks && \ - make -j"$(nproc --all)" && \ - make install - -# Add luarocks to PATH and install luacheck -ENV PATH "$PATH:/opt/luarocks/bin" -RUN luarocks install luacheck - -# Build final container -FROM registry.fedoraproject.org/fedora-minimal:latest - -LABEL org.opencontainers.image.authors "Naev Dev Team" -LABEL org.opencontainers.image.source "https://github.com/naev/naev-infrastructure" -LABEL org.opencontainers.image.description "Used for CI, testing and soundtrack builds." - -# Allows for determining what container scripts are run in. -ENV IMAGE_NAME "naev-linux-latest" - -WORKDIR / -COPY --from=build /opt/luarocks /opt/luarocks - -# Add luarocks to PATH -ENV PATH "$PATH:/opt/luarocks/bin" - -# Install Build dependencies. -RUN microdnf --nodocs --setopt=install_weak_deps=0 -y install meson ninja-build gcc binutils-devel enet-devel fontconfig-devel freetype-devel \ - gettext-devel glpk-devel file ffmpeg-free libpng12-devel libxml2-devel libvorbis-devel libwebp-devel libunibreak-devel \ - luajit-devel openal-soft-devel openblas-devel pcre2-devel physfs-devel SDL2-devel SDL2_image-devel suitesparse-devel \ -# Install utilities - git libevent lua nano ncurses python3-pyyaml python3-mutagen readline tar texinfo xz unzip zip && \ - microdnf clean all && \ -# Verify tool versions and install locations. - echo "Verifying python install" && \ - command -v python3 && \ - python3 --version && \ - echo "Verifying luacheck install" && \ - command -v luacheck && \ - luacheck --version && \ - echo "Verifying meson install" && \ - command -v meson && \ - meson --version && \ - echo "Verifying ffmpeg install" && \ - command -v ffmpeg && \ - ffmpeg -version - -# Force appimages to run in extract mode since FUSE is not available -ENV APPIMAGE_EXTRACT_AND_RUN 1 - -# Set WORKDIR when you spin up the image. -RUN mkdir -p /tmp/naevBuild -WORKDIR /tmp/naevBuild diff --git a/naev-linux-lts/Dockerfile b/naev-linux-lts/Dockerfile deleted file mode 100644 index 18720ba..0000000 --- a/naev-linux-lts/Dockerfile +++ /dev/null @@ -1,60 +0,0 @@ -FROM centos:7 - -LABEL org.opencontainers.image.authors "Naev Dev Team" -LABEL org.opencontainers.image.source "https://github.com/naev/naev-infrastructure" -LABEL org.opencontainers.image.description "Used for release builds. oldest targetted glibc platform" - -# Allows for determining what container scripts are run in. -ENV IMAGE_NAME "naev-linux-lts" - -WORKDIR /tmp -# Enable the EPEL and End Point repositories for additional up-to-date tools. -RUN yum -y install epel-release && \ - curl -L -O https://packages.endpointdev.com/endpoint-rpmsign-7.pub &&\ - rpm --import endpoint-rpmsign-7.pub && \ - curl -L -O https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm && \ - rpm -i endpoint-repo.x86_64.rpm && \ - rm -rf /tmp/endpoint-repo.x86_64.rpm endpoint-rpmsign-7.pub && \ -# Install Build dependencies. - yum -y install meson ninja-build gcc binutils-devel enet-devel fontconfig-devel freetype-devel \ - gettext-devel glpk-devel file libpng12-devel libxml2-devel libvorbis-devel libwebp-devel \ - libunibreak-devel luajit-devel openal-soft-devel openblas-devel pcre2-devel SDL2-devel \ - SDL2_image-devel \ -# Install utilities - git nano tar texinfo xz unzip zip && \ - yum clean all && \ -# Install pyyaml - python3 -m pip install PyYAML && \ -# Verify python version and install location. - echo "Verifying python install" && \ - command -v python3 && \ - python3 --version && \ -# Verify meson version and installation. - echo "Verifying meson install" && \ - command -v meson && \ - meson --version && \ -# Verify git version and installation. - echo "Verifying git install" && \ - command -v git && \ - git --version - -# Fix a missing pkgconfig file (that e.g. Fedora's version of the package would have installed). -COPY <