Message339569
| Author |
xdegaye |
| Recipients |
vstinner, xdegaye |
| Date |
2019年04月07日.10:57:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1554634629.12.0.825648831107.issue36544@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Steps to reproduce (requires docker support, about 500 MB and only few minutes):
1. Create the file named 'Dockerfile' whose content is:
####################################
FROM ubuntu
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
bash \
build-essential \
git \
sed \
&& rm -rf /var/lib/apt/lists/*
# Run as user 'pydev'.
RUN groupadd pydev && useradd --no-log-init -m -g pydev pydev
USER pydev:pydev
ENV HOME=/home/pydev
WORKDIR $HOME
####################################
2. Create the ubuntu:bpo-36544 image
$ docker build --tag=ubuntu:bpo-36544 .
3. Run the image and enters bash as user pydev
$ docker run -it ubuntu:bpo-36544
As user pydev, build python and import hashlib:
5a8ffc33955d">pydev@5a8ffc33955d :~$ git clone -b master --single-branch --depth 1 https://github.com/python/cpython.git
70e0722a76f2">pydev@70e0722a76f2 :~$ cd cpython/ && ./configure && make
70e0722a76f2">pydev@70e0722a76f2 :~/cpython$ ./python -c "import hashlib" |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2019年04月07日 10:57:09 | xdegaye | set | recipients:
+ xdegaye, vstinner |
| 2019年04月07日 10:57:09 | xdegaye | set | messageid: <1554634629.12.0.825648831107.issue36544@roundup.psfhosted.org> |
| 2019年04月07日 10:57:09 | xdegaye | link | issue36544 messages |
| 2019年04月07日 10:57:08 | xdegaye | create |
|