Skip to content

Commit c4e6ff8

Browse files
authored
fix: use codespace-compatible docker images
1 parent 2783452 commit c4e6ff8

3 files changed

Lines changed: 4 additions & 20 deletions

File tree

9569/Dockerfile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
# Python 3.7 Dockerfile
2-
FROM python:3.7-bullseye
3-
4-
# Add MongoDB official repository
5-
RUN apt-get update && apt-get install -y gnupg curl && \
6-
curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor -o /usr/share/keyrings/mongodb-archive-keyring.gpg && \
7-
echo "deb [signed-by=/usr/share/keyrings/mongodb-archive-keyring.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" > /etc/apt/sources.list.d/mongodb-org-4.4.list && \
8-
apt-get update
9-
10-
# Install MongoDB 4.4
11-
RUN apt-get install -y \
12-
mongodb-org=4.4.24 \
13-
&& rm -rf /var/lib/apt/lists/*
2+
FROM mcr.microsoft.com/devcontainers/python:3.7
143

154
# Install Python packages
165
RUN pip install --no-cache-dir \
176
Flask==2.2.5 \
18-
pymongo==3.13.0 \
197
notebook==6.5.6
208

21-
CMD ["python3"]
9+
CMD ["python3"]

nysd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python 3.11 Dockerfile
2-
FROM python:3.11-slim
2+
FROM mcr.microsoft.com/devcontainers/python:3.11
33

44
# Install any additional dependencies here
55
RUN apt-get update && apt-get install -y \

tnl/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Python 3.11 Dockerfile
2-
FROM python:3.11-slim
3-
4-
# Install any additional dependencies here
5-
RUN apt-get update && apt-get install -y \
6-
&& rm -rf /var/lib/apt/lists/*
2+
FROM mcr.microsoft.com/devcontainers/python:3.11
73

84
# Install Python packages
95
RUN pip install --no-cache-dir \

0 commit comments

Comments
 (0)