2024-04-17 14:06:23 +00:00
|
|
|
FROM alpine:3.19.1
|
2024-02-04 15:23:32 +00:00
|
|
|
LABEL authors="servostar"
|
2024-05-17 13:39:07 +00:00
|
|
|
LABEL version="0.2.4"
|
2024-02-04 15:23:32 +00:00
|
|
|
LABEL description="base image for building the gemstone programming language compiler"
|
|
|
|
LABEL website="https://github.com/Servostar/gemstone"
|
|
|
|
|
|
|
|
# install dependencies
|
2024-05-17 13:39:07 +00:00
|
|
|
RUN apk add build-base gcc make cmake bison flex git python3 graphviz zlib zlib-dev curl-dev
|
2024-02-04 15:23:32 +00:00
|
|
|
|
|
|
|
# create user for build
|
2024-04-17 14:06:23 +00:00
|
|
|
RUN adduser --disabled-password lorang
|
2024-02-04 15:23:32 +00:00
|
|
|
WORKDIR /home/lorang
|
2024-04-22 11:15:33 +00:00
|
|
|
USER lorang
|