Commit Graph

846 Commits

Author SHA1 Message Date
Matt McCormick
499f8f5510 ci: Use CircleCI 2.0
Addresses #156
2017-08-28 13:24:53 -04:00
Matt McCormick
da5aebb14f Merge pull request #153 from conz27/fix_home_dir_ownership
Fix $HOME directory ownership permissions
2017-06-29 11:20:37 -07:00
Constantine Grantcharov
b1cef063a1 Fix $HOME directory ownership permissions
BUG:

Creating a new directory under /home/<user>/ from the /work folder does
not work. In fact, going into the home directory and trying to run mkdir
fails as well.

SOLUTION:

Turns out chown -R <user>:<user> was run on $HOME/* instead of on $HOME.
This means that /home/<user> was still under the ownership of root:root,
hence preventing any writes to non-root users.
2017-06-29 08:31:33 -04:00
Matt McCormick
2b28515daf Merge pull request #151 from jam7/fix-pip
linux-*: Change common.docker to fix pip installation.
2017-06-10 18:07:17 -07:00
Matt McCormick
7dd41cdc4b common: work around overlay storage backend pip uninstall
Addresses:

  Collecting pip
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
Collecting wheel
  Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
Installing collected packages: pip, wheel
  Found existing installation: pip 1.5.6
    Uninstalling pip-1.5.6:
Exception:
Traceback (most recent call last):
  File "/tmp/tmpqu31Wp/pip.zip/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/tmp/tmpqu31Wp/pip.zip/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/tmp/tmpqu31Wp/pip.zip/pip/req/req_set.py", line 778, in install
    requirement.uninstall(auto_confirm=True)
  File "/tmp/tmpqu31Wp/pip.zip/pip/req/req_install.py", line 754, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/tmp/tmpqu31Wp/pip.zip/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/tmp/tmpqu31Wp/pip.zip/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/usr/lib/python2.7/shutil.py", line 300, in move
    rmtree(src)
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 256, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/usr/lib/python2.7/shutil.py", line 254, in rmtree
    os.rmdir(path)
  OSError: [Errno 39] Directory not empty: '/usr/lib/python2.7/dist-packages/pip/backwardcompat'

when Docker is using the overlay fs backend. See:

  https://github.com/moby/moby/issues/12327
2017-06-10 17:40:36 -04:00
Kazushi (Jam) Marukawa
e6b6ef9d68 Change common.docker to fix pip installation for linux-*.
This won't nothing for manylinux-* since pip is installed correctly by manylinux-common/install-python-packages.sh.
2017-06-09 23:21:26 +09:00
Matt McCormick
4dbca9eb85 Merge pull request #149 from dockcross/manylinux-update-scikit-build
manylinux: Update scikit-build from 0.5.1 to 0.6.1
2017-06-08 12:32:20 -07:00
Jean-Christophe Fillion-Robin
0fbfa064b3
manylinux: Update scikit-build from 0.5.1 to 0.6.1
See http://scikit-build.readthedocs.io/en/latest/changes.html#scikit-build-0-6-1
2017-06-08 14:06:14 -04:00
Matt McCormick
f689116b3f Merge pull request #143 from thewtex/manylinux-sudo
manylinux: Remove rh devtoolset sudo
2017-05-20 23:29:21 -04:00
Matt McCormick
e513a262e1 manylinux: Remove rh devtoolset sudo
This requires that sudo supports '-E', which gosu does not.
2017-05-20 23:27:44 -04:00
Matt McCormick
68962e0e84 Merge pull request #138 from conz27/ssh_support
SSH Support for Git Clone / Checkout
2017-05-13 11:04:25 -04:00
Constantine Grantcharov
bf0f74cfd3 SSH Support for Git Clone / Checkout
Added SSH support to enable Git checkouts that use SSH instead of
HTTP(S).

The SSH directory is assumed to be in $HOME/.ssh; however:

export SSH_DIR=/my/custom/dir

will override the setting and allow for configurable settings.

$SSH_DIR is then mounted as host-volume in the Docker container and
placed in /home/<user>/.ssh
2017-05-12 23:52:20 -04:00
Matt McCormick
8feb70b748 Merge pull request #142 from thewtex/manylinux-repo-sources
manylinux: Do not over ride repositories
2017-05-12 23:30:50 -04:00
Matt McCormick
5e83a6945d manylinux: Do not over ride repositories
The upstream manylinux images have switched to the CentOS Vault
repositories.

This addresses the manylinux-x86 image build.
2017-05-12 22:28:38 -04:00
Matt McCormick
d878d0fbf7 Merge pull request #140 from dockcross/add-missing-repo-files
manylinux: Add missing repo files
2017-05-11 09:12:10 -04:00
Jean-Christophe Fillion-Robin
065448460f
manylinux: Add missing repo files
This commit includes files omitted in commit 6e59959 (manylinux: Use
CentOS Vault repositories)

Reported-by: Constantine Grantcharov <cgrantcharov@trustpointinnovation.com>
2017-05-11 00:01:54 -04:00
Jean-Christophe Fillion-Robin
72b0dfb86d Merge pull request #137 from dockcross/update-manylinux-repo-and-fix-text-file-busy-error
Update manylinux repo and fix text file busy error
2017-05-01 22:35:27 -04:00
Jean-Christophe Fillion-Robin
dd9d902538
Fix "text file busy" error reported when using AUFS storage driver
This commit fixes the following error specific to AUFS:

/dockcross/entrypoint.sh: line 47: /usr/bin/gosu: Text file busy
/dockcross/entrypoint.sh: line 47: /usr/bin/gosu: Success

Thanks @sobolevn
See https://github.com/moby/moby/issues/13594#issuecomment-262441366
2017-05-01 16:35:28 -04:00
Jean-Christophe Fillion-Robin
6e59959a6a
manylinux: Use CentOS Vault repositories
Backported from thewtex/docker-centos-build@26f7fd3

CentOS 5 is no longer supported and requests to obtain information from
the mirrors fails. However, the packages are still available on the
"Vault" mirrors.

Comment out the `mirrorlist` entries and set `enabled=0` in
CentOS-Base.repo, add entries for 5.11 in CentOS-Vault.repo and mark
them `enabled=1`.
2017-05-01 16:35:28 -04:00
Matt McCormick
8fc9bd5a1d Merge pull request #136 from thewtex/gosu
common: Use gosu to replace chpst and add sudo abilities
2017-04-24 11:06:38 -04:00
Matt McCormick
4c3612da2b common: Use gosu to replace chpst and add sudo abilities
From:

  https://github.com/tianon/gosu
2017-04-22 23:35:12 -04:00
Matt McCormick
6c77167ad6 Merge pull request #135 from danjacques/patch-2
Update .circleci-matrix.yml to include "linux-mipsel"
2017-04-19 14:43:02 -04:00
Daniel Jacques
d53ac677b4 Update .circleci-matrix.yml to include "linux-mipsel"
Fixes #134.
2017-04-19 08:02:41 -07:00
Matt McCormick
e8125c4c81 Merge pull request #133 from danjacques/patch-1
linux-armv7: Fix cpp path
2017-04-17 15:00:42 -04:00
Daniel Jacques
acc6d3bb3b linux-armv7: Fix cpp path
Addresses #132.
2017-04-17 11:30:15 -07:00
Matt McCormick
af65aafb7e Merge pull request #131 from thewtex/cmake-bump
Cmake bump
2017-04-16 21:29:32 -04:00
Matt McCormick
89ef580768 common: Bump Ninja to 1.7.2 2017-04-15 11:45:18 -04:00
Matt McCormick
be603d62cf common: Bump CMake to v3.8.0 2017-04-15 11:44:57 -04:00
Matt McCormick
30c14955c5 Merge pull request #129 from thewtex/linux-armv5-cpp
linux-armv5: Fix cpp path
2017-04-10 07:27:40 -04:00
Matt McCormick
245259f9a8 linux-armv5: Fix cpp path
Addresses #123
2017-04-10 00:20:40 -04:00
Matt McCormick
8ec77d7a07 Merge pull request #128 from thewtex/mipsel-paths
linux-mipsel: Fix toolchain environmental variable paths
2017-04-09 23:35:38 -04:00
Matt McCormick
d791f2a5cb linux-mipsel: Fix toolchain environmental variable paths
To address #121
2017-04-09 20:51:49 -04:00
Matt McCormick
3ffc304c0b Merge pull request #127 from thewtex/manylinux-conan
common: Fix conan install in manylinux
2017-04-09 20:49:36 -04:00
Matt McCormick
b1d45ae99d common: Fix conan install in manylinux 2017-04-09 17:29:50 -04:00
Matt McCormick
b2fd9ba86a Merge pull request #118 from brainstorm/asmjs_wasm
Bump up emscripten docker container so that it supports WebAssembly
2017-03-02 21:22:06 -05:00
Roman Valls Guimera
4281676888 Removing code that the base image is doing, thanks @thewtex 2017-02-28 19:05:47 +01:00
Matt McCormick
b949fdfb38 Merge pull request #116 from KalleDK/patch-2
Fixing mipsel
2017-02-26 11:16:04 -05:00
Roman Valls Guimera
7dbbf54834 Docker ENV bump as well 2017-02-24 03:20:45 +01:00
Roman Valls Guimera
a4e1032da9 Bump up emscripten docker container so that it supports WebAssembly, thanks @asRIA. 2017-02-23 18:58:03 +01:00
Kalle Møller
92b1b06bb0 Missed 4.9 2017-02-15 20:32:35 +01:00
Kalle Møller
26ed5822ba Fixing mipsel 2017-02-15 20:30:07 +01:00
Matt McCormick
60ab89e001 Merge pull request #112 from KalleDK/patch-1
Update common.debian
2017-02-03 17:24:12 -05:00
Kalle Møller
e804fc107d Update common.debian
I tried to build the image manually and failed due to apt-get asked for [y] in the install procedure.
2017-02-03 12:40:43 +01:00
Matt McCormick
24833fb60b Merge pull request #109 from brainstorm/add_zip
Adding zip
2017-02-02 13:58:59 -05:00
Jean-Christophe Fillion-Robin
42aedb8516 Merge pull request #110 from dockcross/manylinux-update-scikit-build
manylinux: Update scikit-build to 0.5.1
2017-02-02 13:37:04 -05:00
Matt McCormick
b2b77f080a Merge pull request #107 from KalleDK/conan-support
Added conan support
2017-02-02 13:15:56 -05:00
Jean-Christophe Fillion-Robin
682d886b03 manylinux: Update scikit-build to 0.5.1
See http://scikit-build.readthedocs.io/en/latest/changes.html#scikit-build-0-5-1
2017-02-02 13:12:03 -05:00
Roman Valls Guimera
54685b5a50 Add pax and zip to manylinux as well 2017-01-30 16:15:03 +01:00
Roman Valls Guimera
438d84044f Adding zip as well since @radare requires it to bundle the release after compiling. 2017-01-30 15:47:19 +01:00
Jean-Christophe Fillion-Robin
9a398e7de8 Merge pull request #108 from brainstorm/add_pax
Add common (un)archiver, pax
2017-01-30 08:58:56 -05:00