12 lines
310 B
Docker
12 lines
310 B
Docker
# Create a virtual environment with all tools installed
|
|
# ref: https://hub.docker.com/_/alpine
|
|
FROM alpine:edge AS base
|
|
|
|
# Install system build dependencies
|
|
ENV PATH=/usr/local/bin:$PATH
|
|
RUN apk add --no-cache git build-base linux-headers cmake
|
|
CMD [ "/bin/sh" ]
|
|
|
|
FROM base AS swig
|
|
RUN apk add --no-cache swig
|