Skip to content

Commit a8f53a8

Browse files
committed
Support SQLite, GDBM and Tk modules on 2.7
1 parent 4e83465 commit a8f53a8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

2.7/Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,16 @@ RUN tce-load -wic \
2323
linux-3.16.2_api_headers \
2424
glibc_base-dev \
2525
openssl-1.0.0-dev \
26+
gdbm-dev \
2627
ncurses-dev \
2728
readline-dev \
29+
sqlite3-dev \
2830
zlib_base-dev \
31+
tk-dev \
32+
libX11-dev \
33+
libXss \
34+
xorg-proto \
35+
&& sudo ln -s /usr/local/bin/file /usr/bin/file \
2936
&& cd /tmp \
3037
&& curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
3138
&& curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
@@ -67,14 +74,17 @@ RUN tce-load -wic \
6774
gcc.tcz \
6875
gcc_libs.tcz \
6976
linux-3.16.2_api_headers.tcz \
70-
make.tcz; do \
77+
make.tcz \
78+
sqlite3-bin.tcz \
79+
xorg-proto.tcz; do \
7180
echo "Removing $PKG files"; \
7281
for F in `unsquashfs -l $PKG | grep squashfs-root | sed -e 's/squashfs-root//'`; do \
7382
[ -f $F -o -L $F ] && sudo rm -f $F; \
7483
done; \
7584
INSTALLED=$(echo -n $PKG | sed -e s/.tcz//); \
7685
sudo rm -f /usr/local/tce.installed/$INSTALLED; \
7786
done \
87+
&& sudo rm -f /usr/bin/file \
7888
&& sudo /sbin/ldconfig \
7989
&& rm -rf /tmp/tce/optional/*
8090

0 commit comments

Comments
 (0)