Skip to content

Commit

Permalink
Fix dockerbuild CI (#1354)
Browse files Browse the repository at this point in the history
* remove python2.7 from Dockerfile

* add dockerignore for the main build as well
  • Loading branch information
muckelba authored Jun 24, 2023
1 parent 93e82a8 commit 05176ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Files and directories not required in a docker build
APK/
venv/
logs/
temp/
files/
upload/
update_log.json
docker/
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ libgl1-mesa-glx \
&& python3 -m pip install --no-cache-dir -r requirements.txt ortools redis \
# cleanup
&& apt-get remove -y build-essential \
&& apt-get remove -y python2.7 && rm -rf /usr/lib/python2.7 \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 05176ca

Please sign in to comment.