Skip to content

Commit

Permalink
Use Docker image, bump Python
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Dec 16, 2020
1 parent bba6667 commit 4cff6e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -l

PYTHON=$(which python3.6)
PYTHON=$(which python3.8)
echo "PYTHON=${PYTHON}"

$PYTHON /special_day.py

0 comments on commit 4cff6e3

Please sign in to comment.