Dockerfile : trying to mitigate the issue
This commit is contained in:
parent
6ea1eacfce
commit
bf5a91c5a2
@ -1,10 +1,11 @@
|
||||
# Container image that runs your code
|
||||
FROM debian
|
||||
FROM python
|
||||
|
||||
# Copies your code file from your action repository to the filesystem path `/` of the container
|
||||
COPY filters.sh /filters.sh
|
||||
RUN apt-get update && apt-get install -y python3 git python3-pip wget curl
|
||||
RUN wget -O gh https://github.com/cli/cli/releases/download/v2.14.7/gh_2.14.7_linux_amd64.deb
|
||||
RUN pip install -r /filters-maker/requirements.txt
|
||||
RUN apt-get update && apt-get install -y git wget curl
|
||||
RUN wget -O gh https://github.com/cli/cli/releases/download/v2.30.0/gh_2.30.0_linux_amd64.deb
|
||||
RUN dpkg -i gh
|
||||
# Code file to execute when the docker container starts up (`entrypoint.sh`)
|
||||
RUN chmod 777 /filters.sh
|
||||
|
@ -3,7 +3,6 @@ git clone https://github.com/minoplhy/filters-maker /filters-maker
|
||||
git clone https://x-access-token:$API_TOKEN_GITHUB@github.com/$INPUT_DESTINATION_UNAME/$INPUT_DESTINATION_REPO.git /repros
|
||||
mkdir /reprwiki
|
||||
mkdir /reprwiki/Private-build/
|
||||
pip3 install -r /filters-maker/requirements.txt
|
||||
cd /reprwiki
|
||||
python3 /repros/$INPUT_ACTION_FILE
|
||||
cd /repros
|
||||
|
Loading…
Reference in New Issue
Block a user