2020-04-02 00:12:08 +02:00
|
|
|
# Create a virtual environment with all tools installed
|
|
|
|
|
# ref: https://hub.docker.com/_/archlinux/
|
2020-09-10 17:16:35 +02:00
|
|
|
FROM archlinux:latest AS base
|
2020-04-02 00:12:08 +02:00
|
|
|
LABEL maintainer="corentinl@google.com"
|
|
|
|
|
# Install system build dependencies
|
|
|
|
|
ENV PATH=/usr/local/bin:$PATH
|
2021-12-06 14:01:10 +01:00
|
|
|
RUN pacman -Syu --noconfirm git base-devel cmake lsb-release
|
2020-04-02 00:12:08 +02:00
|
|
|
CMD [ "/bin/bash" ]
|
|
|
|
|
|
|
|
|
|
FROM base AS swig
|
|
|
|
|
RUN pacman -Syu --noconfirm swig
|