Skip to content

Commit

Permalink
Move to base docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
timarenz committed Aug 17, 2021
1 parent 3fd6c6a commit 81f46a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 51 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/release-container.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Temporary Items
.apdisk

# Ignore evaluations folder
evaluations
evaluations
11 changes: 1 addition & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
FROM ubuntu:20.04
LABEL org.opencontainers.image.source https://github.com/timarenz/lw-scanner-action
RUN apt-get update \
&& apt-get install -y --no-install-recommends apt-transport-https ca-certificates curl gnupg lsb-release jq \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
RUN apt-get update && apt-get install -y --no-install-recommends docker-ce-cli && rm -rf /var/lib/apt/lists/*
RUN curl -LJo /usr/local/bin/lw-scanner https://github.com/lacework/lacework-vulnerability-scanner/releases/download/v0.1.3/lw-scanner-linux-amd64 && chmod +x /usr/local/bin/lw-scanner
FROM ghcr.io/timarenz/lw-scanner:v0.1.3
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]

0 comments on commit 81f46a3

Please sign in to comment.