ci: Unzip rockyou & cleanup Docker images
This commit is contained in:
13
Dockerfile.ubuntu
vendored
13
Dockerfile.ubuntu
vendored
@@ -1,5 +1,16 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
# Copy wordlists
|
||||
COPY wordlists /wordlists
|
||||
|
||||
WORKDIR /wordlists
|
||||
# Copy relevant Markdown files
|
||||
COPY NOTICE.md /wordlists/NOTICE.md
|
||||
COPY TERMS_OF_USE.md /wordlists/TERMS_OF_USE.md
|
||||
|
||||
# Unzip rockyou
|
||||
WORKDIR /wordlists/famous
|
||||
RUN apt-get update && apt-get install -y unzip && \
|
||||
unzip rockyou.zip && rm rockyou.zip
|
||||
|
||||
# Cleanup
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
Reference in New Issue
Block a user