Dockerfile 481 B

123456789101112
  1. # Container image that runs your code
  2. FROM python
  3. # Copies your code file from your action repository to the filesystem path `/` of the container
  4. COPY filters.sh /filters.sh
  5. RUN apt-get update && apt-get install -y git wget curl
  6. RUN wget -O gh https://github.com/cli/cli/releases/download/v2.30.0/gh_2.30.0_linux_amd64.deb
  7. RUN dpkg -i gh
  8. # Code file to execute when the docker container starts up (`entrypoint.sh`)
  9. RUN chmod 777 /filters.sh
  10. ENTRYPOINT ["/bin/bash","/filters.sh"]