Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix image construction problem #99

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,16 @@ ENV INSTALL_WORKDIR=/tmp/registry-sweepers

COPY . $INSTALL_WORKDIR

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git
RUN apt-get update --quiet && \
apt-get upgrade --quiet --yes && \
apt-get install --quiet --yes git gcc python3-dev

RUN pip install $INSTALL_WORKDIR \
&& cp $INSTALL_WORKDIR/docker/sweepers_driver.py /usr/local/bin/ \
&& rm -r $INSTALL_WORKDIR

RUN apt-get autoremove && \
apt-get remove --quiet --yes gcc python3-dev && \
rm --force --recursive /var/lib/apt/lists/*

CMD ["/usr/local/bin/sweepers_driver.py"]
Loading