From 4cff6e3be7184d400375cdb671ff029f8068624b Mon Sep 17 00:00:00 2001 From: Pey Lian Lim <2090236+pllim@users.noreply.github.com> Date: Wed, 16 Dec 2020 17:57:50 -0500 Subject: [PATCH] Use Docker image, bump Python --- Dockerfile | 13 +------------ entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 95e21e3..3224d5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,5 @@ # Container image that runs your code -FROM ubuntu:18.04 - -RUN apt-get update \ - && apt-get install -y \ - build-essential \ - python3-pip \ - python3.6 \ - git \ - && python3 -m pip install --upgrade pip \ - && python3 -m pip install --upgrade setuptools \ - && python3 -m pip install --upgrade wheel \ - && python3 -m pip install PyGithub +FROM quay.io/spacetelescope/astropy-actions-docker:0.1 # Copies code file action repository to the filesystem path `/` of the container COPY entrypoint.sh /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index c0908c2..575117a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -l -PYTHON=$(which python3.6) +PYTHON=$(which python3.8) echo "PYTHON=${PYTHON}" $PYTHON /special_day.py