Skip to content

Commit

Permalink
GitHub Actions Upgrade and Dockerfile improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
matamorphosis committed Jan 19, 2023
1 parent b0690a2 commit 667b823
Show file tree
Hide file tree
Showing 6 changed files with 33,152 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ossar-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Ensure a compatible version of dotnet is installed.
# The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Build the Scrummage Docker image
run: |
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ ENV PATH="$POETRY_HOME/bin:$PATH"
#----------------------------------------------------------------------------------------------------
ENV TZ=Australia/Sydney
RUN apt install -y tzdata python3.9 python3.9-distutils python3-psycopg2 postgresql postgresql-contrib build-essential wget unzip git openssl curl sudo fonts-font-awesome
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python3.9 get-pip.py
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN apt install -y ./google-chrome-stable_current_amd64.deb
#----------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -76,7 +74,8 @@ RUN ./GetChromeDriver.sh
# Install poetry packages
#----------------------------------------------------------------------------------------------------
WORKDIR /Scrummage
RUN curl -sSL https://install.python-poetry.org/ | python3.9 -
RUN python3.9 /Scrummage/installation/support_files/get-pip.py
RUN python3.9 /Scrummage/installation/support_files/poetry-install.py
RUN poetry self update
RUN poetry install
#----------------------------------------------------------------------------------------------------
Expand Down
Loading

0 comments on commit 667b823

Please sign in to comment.