Skip to content

Commit 327234c

Browse files
committed
fix(docker): comment out rotten bits
1 parent d140614 commit 327234c

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

Dockerfile

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ ARG FAASM_PYTHON_VERSION
44
SHELL ["/bin/bash", "-c"]
55
ENV PYTHON_DOCKER="on"
66

7-
RUN apt update && apt install -y libssl-dev
7+
RUN apt update \
8+
&& apt install -y --no-install-recommends \
9+
dpkg-dev \
10+
libssl-dev \
11+
pkg-config \
12+
wget \
13+
zlib1g \
14+
zlib1g-dev \
15+
&& apt autoremove -y \
16+
&& apt clean; rm -rf /var/lib/apt/lists/*
817

918
# Clone code and submodules
1019
RUN mkdir -p /code \
@@ -30,21 +39,21 @@ RUN cd /code/python \
3039
cpython.func
3140

3241
# Build cross-compiled python modules, including `pyfaasm`
33-
RUN cd /code/python \
34-
&& ./bin/crossenv_setup.sh \
35-
&& source ./cross_venv/bin/activate \
36-
&& pip3 install -r crossenv/requirements.txt \
37-
&& inv -r crossenv modules.build
42+
# RUN cd /code/python \
43+
# && ./bin/crossenv_setup.sh \
44+
# && source ./cross_venv/bin/activate \
45+
# && pip3 install -r crossenv/requirements.txt \
46+
# && inv -r crossenv modules.build
3847

39-
# Finally, install the cross-compiled Python modules
40-
RUN cd /code/python \
41-
&& source ./venv/bin/activate \
42-
&& inv modules.install
48+
# # Finally, install the cross-compiled Python modules
49+
# RUN cd /code/python \
50+
# && source ./venv/bin/activate \
51+
# && inv modules.install
4352

4453
# TODO: Install experimental pacakges
4554
# RUN . ./cross_venv/bin/activate && inv libs.install --experimental
4655

4756
WORKDIR /code/python
48-
ENV TERM xterm-256color
57+
ENV TERM=xterm-256color
4958
RUN sed -i 's/\/code\/cpp\/bin/\/code\/python\/bin/g' ~/.bashrc
5059
CMD ["/bin/bash", "-l"]

0 commit comments

Comments
 (0)