File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
1
FROM python:3.10.8
2
2
WORKDIR /home/pandas
3
3
4
- RUN apt-get update && apt-get -y upgrade
5
- RUN apt-get install -y build-essential bash-completion
4
+ RUN apt-get update && \
5
+ apt-get -y upgrade && \
6
+ rm -rf /var/lib/apt/lists/*
6
7
7
- # hdf5 needed for pytables installation
8
- # libgles2-mesa needed for pytest-qt
9
- RUN apt-get install -y libhdf5-dev libgles2-mesa-dev
8
+ RUN apt-get update && apt-get install -y \
9
+ build-essential \
10
+ bash-completion \
11
+ # hdf5 needed for pytables installation
12
+ libhdf5-dev \
13
+ # libgles2-mesa needed for pytest-qt
14
+ libgles2-mesa-dev && \
15
+ rm -rf /var/lib/apt/lists/*
10
16
11
- RUN python -m pip install --upgrade pip
12
17
COPY requirements-dev.txt /tmp
13
- RUN python -m pip install -r /tmp/requirements-dev.txt
18
+ RUN python -m pip install --no-cache-dir --upgrade pip && \
19
+ python -m pip install --no-cache-dir -r /tmp/requirements-dev.txt
14
20
RUN git config --global --add safe.directory /home/pandas
15
21
16
22
ENV SHELL="/bin/bash"
You can’t perform that action at this time.
0 commit comments