Skip to content

Commit

Permalink
Merge 164a9df into 3a0be21
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Jan 9, 2022
2 parents 3a0be21 + 164a9df commit d90d2cd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +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="Lineage 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 apk add git
RUN pip install --requirement requirements.txt
RUN apk add --no-cache build-base git 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", "lineage"]

0 comments on commit d90d2cd

Please sign in to comment.