Merge pull request #27 from Servostar/20-make-devkit-pull-current-source-from-github

20 make devkit pull current source from GitHub
This commit is contained in:
servostar 2024-04-23 12:05:53 +00:00 committed by GitHub
commit 615559a825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 9 deletions

View File

@ -2,7 +2,7 @@ name: "Build check gemstone in SDK"
run-name: SDK build check to ${{ inputs.deploy_target }} by @${{ github.actor }} run-name: SDK build check to ${{ inputs.deploy_target }} by @${{ github.actor }}
on: [push, pull_request] on: [push, pull_request]
env: env:
SDK: 0.1.0-alma-9.3 SDK: 0.2.1-alpine-3.19.1
jobs: jobs:
build-check-sdk: build-check-sdk:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -1,10 +1,9 @@
FROM servostar/gemstone:sdk-0.2.0-alpine-3.19.1 FROM servostar/gemstone:sdk-0.2.1-alpine-3.19.1
LABEL authors="servostar" LABEL authors="servostar"
LABEL version="0.2.0" LABEL version="0.2.1"
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"
COPY --chown=lorang src /home/lorang/src RUN git clone https://github.com/Servostar/gemstone.git /home/lorang
COPY --chown=lorang CMakeLists.txt /home/lorang/
RUN cmake . RUN cmake .

View File

@ -1,13 +1,13 @@
FROM alpine:3.19.1 FROM alpine:3.19.1
LABEL authors="servostar" LABEL authors="servostar"
LABEL version="0.2.0" LABEL version="0.2.1"
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 apk add build-base gcc make cmake bison flex RUN apk add build-base gcc make cmake bison flex git
# create user for build # create user for build
RUN adduser --disabled-password lorang RUN adduser --disabled-password lorang
WORKDIR /home/lorang WORKDIR /home/lorang
USER lorang USER lorang