Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Problems running development in docker #534

Closed
@izabellamatos

Description

@izabellamatos

Hi!

I was testing CTF development version using Docker, but since this Monday I wasnt't able to build the image. I was having this error:

compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-akZxK5/cryptography/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-yAUmzO-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-akZxK5/cryptography/
/usr/local/lib/python2.7/dist-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
The command '/bin/sh -c apt-get update && apt-get install -y rsync curl ca-certificates && chown www-data:www-data $HOME && ./extra/provision.sh -m $MODE -c $TYPE -k $KEY -C $CRT -D $DOMAIN -e $EMAIL -s pwd --docker && rm -f /var/run/hhvm/sock && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 1

So, I created a VM with ubuntu and followed the instalation guide and reproduced the same problems. After some searches I discovered that I needed to install "build-essential libssl-dev libffi-dev python-dev curl" . After that the provision script worked fine. In my dockerfile I inserted this line "apt-get build-essential libssl-dev libffi-dev python-dev curl -y".

I don't know if this is a problem with me, but I'm sharing what I've done.

Ps.: I'm using the FBCTF latest version avaliable on GIT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions