Move packaging scripts for docker and appimage into subdirectory.

- De-clutter the project root directory.
This commit is contained in:
Andrew Hamilton 2021-11-03 21:23:15 +10:00
parent 0f59e43395
commit 58b78e9ce4
10 changed files with 6 additions and 6 deletions

View file

@ -17,8 +17,8 @@ Eris maintains an up-to-date set of reports for every file in a codebase.
# git clone https://github.com/ahamilton/eris # git clone https://github.com/ahamilton/eris
# cd eris # cd eris
# sudo docker build -t eris . # sudo docker build -t eris -f packaging/Dockerfile .
# cp eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH # cp packaging/eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH
# eris -h # eris -h
### AppImage ### AppImage

View file

@ -6,7 +6,7 @@ FROM ubuntu:impish
RUN apt update && apt install -y git sudo RUN apt update && apt install -y git sudo
RUN git clone https://github.com/ahamilton/eris RUN git clone https://github.com/ahamilton/eris
RUN cd eris && git checkout d83bea2ba8a419e2b3cd4fd4b3367e25fae6339d RUN cd eris && git checkout 0f59e4339548de8bcccc3ebf85be9b2b49fd10f0
RUN rm -rf eris/.git RUN rm -rf eris/.git
RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata
RUN cd eris && ./install RUN cd eris && ./install

View file

Before

Width:  |  Height:  |  Size: 701 B

After

Width:  |  Height:  |  Size: 701 B

Before After
Before After

View file

@ -73,7 +73,7 @@ def make_app_dir(app_dir, new_paths):
make_sub_container("ubuntu", app_dir, new_paths) make_sub_container("ubuntu", app_dir, new_paths)
cmd(f"cp -a {ERIS_PATH}/tests {app_dir}") cmd(f"cp -a {ERIS_PATH}/tests {app_dir}")
cmd(f"cp -a {ERIS_PATH}/test-all {app_dir}") cmd(f"cp -a {ERIS_PATH}/test-all {app_dir}")
cmd(f"cp {ERIS_PATH}/appimage/* {app_dir}") cmd(f"cp {ERIS_PATH}/packaging/appimage/* {app_dir}")
def cleanup_app_dir(app_dir): def cleanup_app_dir(app_dir):

View file

@ -34,8 +34,8 @@ Eris maintains an up-to-date set of reports for every file in a codebase.
# git clone https://github.com/ahamilton/eris # git clone https://github.com/ahamilton/eris
# cd eris # cd eris
# sudo docker build -t eris . # sudo docker build -t eris -f packaging/Dockerfile .
# cp eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH # cp packaging/eris-docker ~/bin/eris # e.g. Put wrapper script in your PATH
# eris -h # eris -h
### AppImage ### AppImage