feat: init image

This commit is contained in:
张泊明518370910136 2024-06-29 21:52:11 -04:00
parent 64a3792140
commit 7e6824b299
GPG Key ID: CA088E6D9284F870
4 changed files with 29 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/bin/

View File

@ -2,6 +2,21 @@
FROM focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest
# TODO: install joj3 & other binarys
# TODO: install joint-teapot
# TODO: install elf
# install elm
RUN curl -L -o elm.gz https://mirror.ghproxy.com/https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz \
&& gunzip elm.gz \
&& chmod +x elm \
&& mv elm /usr/local/bin/
# install elm-format
RUN curl -L -o elm-format.tgz https://mirror.ghproxy.com/https://github.com/avh4/elm-format/releases/download/0.8.7/elm-format-0.8.7-linux-x64.tgz \
&& tar -xvf elm-format.tgz \
&& chmod +x elm-format \
&& mv elm-format /usr/local/bin/
# install joint-teapot
RUN pip install git+https://mirror.ghproxy.com/https://github.com/BoYanZh/Joint-Teapot
# TODO: install elf & joj3 & other binarys
COPY bin/* /usr/local/bin/

6
Makefile Normal file
View File

@ -0,0 +1,6 @@
.PHONY: all build
all: build
build:
docker build -t focs.ji.sjtu.edu.cn:5000/gitea/runner-images:focs-ubuntu-latest .

View File

@ -3,3 +3,7 @@
FOCS docker images used by [act_runner](https://gitea.com/gitea/act_runner) to run workflows.
Check <https://gitea.com/gitea/runner-images> for information about base images.
## `/bin` directory
Currently, we have placed various binary files in the `/bin` directory that cannot be publicly downloaded. These files include `dummy`, `elf`, `healthcheck`, and `joj3` for now.