2020-02-25 11:26:59 +01: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-01 14:27:33 +02:00
|
|
|
LABEL maintainer="corentinl@google.com"
|
2020-02-25 11:26:59 +01:00
|
|
|
# Install system build dependencies
|
2020-03-30 12:52:32 +02:00
|
|
|
ENV PATH=/usr/local/bin:$PATH
|
2020-02-25 11:26:59 +01:00
|
|
|
RUN pacman -Syu --noconfirm git base-devel cmake
|
2020-04-01 14:27:33 +02:00
|
|
|
CMD [ "/bin/bash" ]
|
2020-02-25 11:26:59 +01:00
|
|
|
|
2020-03-30 12:52:32 +02:00
|
|
|
FROM base AS swig
|
2020-02-25 11:26:59 +01:00
|
|
|
RUN pacman -Syu --noconfirm swig
|