This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # syntax=docker/dockerfile:1.3 | |
| FROM archlinux AS build | |
| ARG VERSION="latest" | |
| RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \ | |
| pacman -Syu --noconfirm | |
| RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \ | |
| pacman -Sy --needed --noconfirm base-devel cmake git unzip rustup cargo jre11-openjdk-headless jdk8-openjdk clang python |