adapted docker files of SDK and DEVKIT to use alpine instead of alma

This commit is contained in:
Sven Vogel 2024-04-17 16:06:23 +02:00
parent 30ebbf51fa
commit 82f576adf8
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
FROM servostar/gemstone:sdk-0.1.0-alma-9.3 FROM servostar/gemstone:sdk-0.2.0-alpine-3.19.1
LABEL authors="servostar" LABEL authors="servostar"
LABEL version="0.1.0" LABEL version="0.2.0"
LABEL description="docker image for setting up the build pipeline on SDK" LABEL description="docker image for setting up the build pipeline on SDK"
LABEL website="https://github.com/Servostar/gemstone" LABEL website="https://github.com/Servostar/gemstone"

View File

@ -1,13 +1,13 @@
FROM almalinux:9.3 FROM alpine:3.19.1
LABEL authors="servostar" LABEL authors="servostar"
LABEL version="0.1.0" LABEL version="0.2.0"
LABEL description="base image for building the gemstone programming language compiler" LABEL description="base image for building the gemstone programming language compiler"
LABEL website="https://github.com/Servostar/gemstone" LABEL website="https://github.com/Servostar/gemstone"
# install dependencies # install dependencies
RUN yum install cmake gcc flex byacc -y RUN apk add build-base gcc make cmake bison flex
# create user for build # create user for build
RUN adduser lorang RUN adduser --disabled-password lorang
WORKDIR /home/lorang WORKDIR /home/lorang
USER lorang USER lorang