Skip to content

Commit

Permalink
Merge f2f2def into 703ba4f
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Jan 9, 2022
2 parents 703ba4f + f2f2def commit c629f20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rebuild_org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
types: [run_tmate, run]
schedule:
- cron: "0 * * * *"
workflow_dispatch:

env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
Expand Down
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@ ARG GIT_COMMIT=unspecified
ARG GIT_REMOTE=unspecified
ARG VERSION=unspecified

FROM python:alpine
FROM python:3.10-alpine

ARG GIT_COMMIT
ARG GIT_REMOTE
ARG VERSION

LABEL org.opencontainers.image.authors="@felddy"
LABEL org.opencontainers.image.authors="@felddy @mcdonnnj"
LABEL org.opencontainers.image.licenses="CC0-1.0"
LABEL org.opencontainers.image.revision=${GIT_COMMIT}
LABEL org.opencontainers.image.source=${GIT_REMOTE}
LABEL org.opencontainers.image.title="All Projects Builder GitHub Action"
LABEL org.opencontainers.image.vendor="Cyber and Infrastructure Security Agency"
LABEL org.opencontainers.image.vendor="Cybersecurity and Infrastructure Security Agency"
LABEL org.opencontainers.image.version=${VERSION}

COPY . ./
RUN pip install --requirement requirements.txt
RUN apk add --no-cache build-base libffi-dev
RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel
RUN pip install --no-cache-dir --requirement requirements.txt
ENTRYPOINT ["python3", "-m", "apb"]

0 comments on commit c629f20

Please sign in to comment.