Commit Graph

53 Commits

Author SHA1 Message Date
adfoster-r7 566a7f1c36 Update docker Ruby version 2024-09-25 16:30:05 +01:00
adfoster-r7 c4e55f1493 Update ruby version 2024-05-20 17:55:10 +01:00
upsidedwn 8dcb409d25 Fix BUNDLER_CONFIG_ARGS variable mismatch in Dockerfile
Previous version of Dockerfile used `set clean 'true'`. However, this no longer works with "newer" versions of Ruby gems (rubygems/rubygems#3271), which now requires a force option when cleaning system gems.

Since there is no way to set the force flag through config, a new ARG (BUNDLER_FORCE_CLEAN) is used to provide the option of whether to run bundle clean --force on system gems.
2024-02-16 02:16:42 +08:00
MikeAnast b336bcaf30 updated Dockerfile for arm architectures 2023-12-08 16:43:40 +02:00
MikeAnast 7756dc9d8e Dockerfile for arm64 and amd64 using multi-stage build 2023-12-06 14:56:51 +02:00
adfoster-r7 e3046d18c9 Update docker ruby version to 3.1 2023-11-23 23:16:25 +00:00
adfoster-r7 7aa54c5907 Update docker depdendency versions 2023-09-11 15:15:52 +01:00
adfoster-r7 756d746abe Remove python2 from docker setup 2023-08-03 20:20:13 +01:00
Grant Willcox f6beef9b23 Update Ruby version in Dockerfile 2022-12-08 14:59:58 -06:00
Grant Willcox 15dc37a663 Bump Go version from 1.11.2 to 1.19.3 2022-11-15 10:28:51 -06:00
Patryk Krawaczyński ed5efdf041 Alpine 3.12 - Support ended 5 months and 2 weeks ago (01 May 2022)
Update to 3.15 - Support ends in 1 year (01 Nov 2023).
2022-10-14 21:07:57 +02:00
sjanusz 41d52f9f3e Install mingw in Docker 2022-03-08 17:43:51 +00:00
Jeffrey Martin e8ed34d204 bump docker image to match .ruby-version 2021-12-01 12:21:25 -06:00
Jeffrey Martin 2954bde97d add pip3 to docker image support 2021-09-07 13:48:29 -05:00
Jeffrey Martin 4746684735 adjustment to rebuild module cache as a tool 2021-09-01 09:18:05 -05:00
Jeffrey Martin 97b03a81c9 add automation cache creation
When new modules are committed, automation needs to rebuild the cache.

The scripts provided here will utilize the public docker container to
rebuild the cache json file. One drawback to this approach is that if
new dependencies for external modules are added the container must be
up to date in dockerhub before the rebuild occurs.

Ideas on a better way to do this without needing to build the docker
container in each automation run would be appreciated.
2021-08-30 12:21:06 -05:00
Jeffrey Martin 51fdde6806 download version of get-pip supporting python2
As of Jan 30, the latest version of get-pip provides
pip 21.0+ and no longer supports python2 syntax.  By
pulling down the locked version directly from github
instead of latest from pypi the requirement to only
support python3 is deferred.
2021-01-25 09:59:56 -06:00
Matúš Bursa cbd1f65bd7 added nasm to make nasm_shell.rb working 2020-11-04 21:42:34 +01:00
Jeffrey Martin 005150bb1a bump default ruby version to 2.7.2
updates Docker container to 2.7.2

Warnings for python2 support [abound](https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.12.0).
```
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
```
2020-10-20 11:28:06 -05:00
Jeffrey Martin 32a9719543 bump final container to use Ruby 2.6.6 2020-10-02 16:02:59 -05:00
Jeffrey Martin 9905f6ede6 update rubygems and bundler in final container 2020-10-02 15:52:02 -05:00
Jeffrey Martin f8abaee104 updates Dockerfile for bundler 2 support 2020-10-02 14:06:55 -05:00
Chris Long bc838f993c Adding impacket dependency to Dockerfile 2020-09-12 20:42:39 -07:00
Brent Cook 2b0c4cf758 bump ruby versions
Address a some recent Ruby vulns by bumping suggested versions to the latest release.
2020-04-15 07:57:49 -05:00
Jeffrey Martin c169598819 Need to force on bunlde when using clean. 2020-01-09 11:28:43 -06:00
Jeffrey Martin f1db8caa79 lock rubygems version for Docker image
Latest rubygems release for 3.1.0 vendors bundler 2.1.0 creating
compatibilty issues.  Lock for now until all relates issues can be
addressed.
2019-12-16 10:05:07 -06:00
ducksecops 2f26ddf156 Updated Dockerfile to Alpine 3.10 with Ruby 2.6.5 2019-10-30 22:16:03 +00:00
Brent Cook c2fe0966fa bump Dockerfile to Ruby 2.6.5 2019-10-03 10:39:36 -05:00
Brent Cook f24c689d84 fix compatibility with --chown flag with COPY 2019-09-09 23:02:26 -05:00
Matúš Bursa 9297809b41 fix permissions bug Gemfile.lock
There was an error while trying to write to /usr/src/metasploit-framework/Gemfile.lock. It is likely that you need to grant write permissions for that path.
2019-09-09 12:59:19 +02:00
Christian Mehlmauer 98bf0d6fcf ruby 2.6.2 2019-03-16 21:31:19 +01:00
Brent Cook 1f68141cfb neither Dockerfile nor Vagrant should actually install bundler these days 2019-03-15 07:19:18 -05:00
Christian Mehlmauer bd17b605db update to ruby 2.6.1 and alpine 3.9 2019-02-05 17:57:38 +01:00
Christian Mehlmauer bd2decdfe9 ruby 2.6.0 2018-12-29 12:27:27 +01:00
Brent Cook 92dec1ecf8 Land #10843, change docker root exec behaviour 2018-11-02 14:50:39 -05:00
Christian Mehlmauer e9da06a645 change docker root exec 2018-10-21 22:30:01 +02:00
Christian Mehlmauer db6cfb65d3 new ruby 2018-10-19 02:57:20 +02:00
Christian Mehlmauer 8bc92c060e ruby update 2018-10-18 00:51:29 +02:00
Christian Mehlmauer 30423b33ed reduce docker image size 2018-10-04 16:21:46 +02:00
Mostafa Hussein 32f91d537c remove bundle cache after install 2018-10-04 13:23:55 +02:00
Mostafa Hussein bb255e1de7 Update Dockerfile 2018-10-04 10:54:21 +02:00
Mostafa Hussein 59c5e527a0 Dockerfile: Use Multi-Stage Build 2018-10-04 01:54:35 +02:00
Christian Mehlmauer 6a6824efe9 bump to ruby 2.5.1 2018-03-30 12:47:19 +02:00
Brent Cook 689a586365 bump Dockerfile to Ruby 2.5 2018-03-26 09:41:41 -05:00
Christian Mehlmauer 70ad41903b another approach 2018-02-17 20:12:35 +01:00
Christian Mehlmauer d19ee7a403 docker error workaround 2018-02-16 17:39:20 +01:00
Brent Cook f681077818 update dockerfile to include newer 2018-01-28 02:47:09 -06:00
Christian Mehlmauer 50351320d7 more docker work 2017-11-28 21:35:20 +01:00
Christian Mehlmauer 9206dee5bb disable gem update for now as version 2.7.1 is broken 2017-11-06 07:49:10 +01:00
Brent Cook ccc2636fd4 bump Ruby to 2.4.2, fix security issues 2017-09-23 21:12:12 -04:00