diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae3c172 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/Dockerfile b/Dockerfile index 7396c8c..e4da152 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..551d56b --- /dev/null +++ b/Makefile @@ -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 . diff --git a/README.md b/README.md index ce9bf1a..9745e83 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,7 @@ FOCS docker images used by [act_runner](https://gitea.com/gitea/act_runner) to run workflows. Check 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.