Claire
aa38f15cf1
Revert default Ruby version to 2.7.2 ( #16154 )
...
Ruby 2.7.3 introduced a new bug with Resolv::DNS, which we heavily use within
Mastodon: https://bugs.ruby-lang.org/issues/17781
Ruby 2.7.3 also included security fixes for two CVEs, but those do not seem
to apply to Mastodon:
https://github.com/tootsuite/mastodon/pull/16004#issuecomment-815125025
4 years ago
Daigo 3 Dango
acd8edcdee
Upgrade Ruby to 2.7.3 ( #16004 )
...
* Upgrade Ruby to 2.7.3
https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-7-3-released/
includes security fixes to
- CVE-2021-28965: XML round-trip vulnerability in REXML
- CVE-2021-28966: Path traversal in Tempfile on Windows
* Update rexml to 3.2.5
https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/
4 years ago
Mashiro
d6432f2cb6
build: install shared-mime-info in Dockerfile ( #15978 )
4 years ago
Sandro
bc5683f1b4
Docker: Use precompiled jemalloc, format, apply hadolint suggestions ( #10823 )
...
* Format, apply hadolint suggestions, little nitpicks
* Use pre compiled jemalloc
* Use tini from package repository
4 years ago
Shlee
32cf85aa92
Update Dockerfile ( #15869 )
4 years ago
Daniel Jakots
530d435054
Update to Node.js-12.20.1 ( #15558 )
...
This is a security release. You can read the announce at
https://nodejs.org/en/blog/vulnerability/january-2021-security-releases/
4 years ago
kaiyou
a765a70d6b
Fix the Dockerfile in case of Kaniko build ( #15510 )
...
Kaniko does not support looking up binaries from $PATH, so we
specify the full path to the bash binary.
Co-authored-by: kaiyou <dev@kaiyou.fr>
4 years ago
Shlee
5630db1dab
Update Dockerfile ( #15232 )
4 years ago
Daigo 3 Dango
75585748c9
Use Ruby 2.7.2 ( #15150 )
...
thwait and e2mmap are no longer needed in Gemfile.
Gems properly require those.
4 years ago
Kairui Song | 宋恺睿
4019f5233a
Minor fix & improvement for the Dockerfile ( #14686 )
...
* Dockerfile: Fix building with multiarch
Tested on amd64 and arm64
* Reduce docker image size by clean up some unneeded source file
4 years ago
Shlee
31e1f4bbef
Update Dockerfile ( #13582 )
4 years ago
Shlee
68bc5ef550
[Security] Update Dockerfile for Ruby 2.6.6 ( #13393 )
5 years ago
Shlee
0ca5d449ca
[Security] Bump Node.js from 12.14.0 to 12.16.1 in Docker ( #13235 )
...
* Update Dockerfile
* Update Dockerfile
5 years ago
Sara Aimée Smiseth
8af34e6a64
Fix non-x64 architectures not being able to build Docker image because of hardcoded Node.js architecture ( #13081 )
...
* Use ARCH variable instead of hardcoded x64
* fix formating
5 years ago
Shlee
4f80dd3e26
Update Dockerfile ( #12997 )
5 years ago
Shlee
510f07e94a
Upgrade Node v12 in Dockerfile ( #12703 )
5 years ago
Shlee
817286d233
Updated NodeJS in Dockerfile ( #12492 )
5 years ago
David Caldwell
6d6154eec0
Dockerfile: put back EXPOSE directive ( #12279 )
...
[Rkt](https://coreos.com/rkt ) doesn't allow ports to be exposed to containers unless they are declared in the container manifest. Re-adding EXPOSE back in (removed in fa3a0f8bc8
) allows the container to be used on rkt based systems.
5 years ago
Shlee
1c5690c8af
Update nodejs in Dockerfile ( #12052 )
5 years ago
Shlee
722f448000
Update Ruby in Dockerfile ( #12050 )
5 years ago
Yamagishi Kazutoshi
5aafbec05e
Use prebuilt node.js on Docker image ( #11768 )
5 years ago
Shlee
0c5a16c5d0
Update NodeJS source for Docker Image ( #11707 )
...
* Update Ruby/Node/jemalloc source for Docker Image
* Update Dockerfile
* Update Dockerfile
5 years ago
Shlee
911ebfea45
Update Dockerfile ( #11710 )
5 years ago
Eugen Rochko
02cf7a07ae
Change Dockerfile to bind to 0.0.0.0 instead of docker-compose.yml ( #11351 )
5 years ago
Sandro Jäckel
7a8958b067
Docker: Remove dist-upgrade ( #10822 )
6 years ago
Sandro Jäckel
6ec47d8326
Docker: Keep /var/lib/apt/ to keep apt working ( #10830 )
6 years ago
Alfie John
3696497a20
Expand abbreviation to minimise confusion ( #10826 )
6 years ago
Ben Lubar
f461d0a193
Re-organize Dockerfile to improve incremental builds. ( #10212 )
...
- Always run apt update before any other apt command. (This fixes
incremental builds failing if a remote package is updated.)
- Only copy dependency lists before installing dependencies. (This means
editing code doesn't force all dependencies to be re-downloaded.)
- Delete cache in the same layer that it is created. (Otherwise,
deleting cache *increases* the size of the image on non-squashed
builds.)
- Move the installation of some static dependencies to *before* Mastodon
code is imported to Docker.
6 years ago
mohemohe
ae14a371dc
Fix fail health check due to missing wget ( #10110 )
6 years ago
Sir-Boops
fa3a0f8bc8
Switch to Ubuntu for docker ( #10100 )
6 years ago
J0WI
96f3621ad9
Do not use apk cache and upgrade ( #9966 )
6 years ago
J0WI
bda1a39dd2
Replace LibreSSL by OpenSSL ( #9975 )
6 years ago
ashleyhull-versent
c00cf2b83b
Update Dockerfile ( #9965 )
6 years ago
ashleyhull-versent
b1fac0b869
Update Dockerfile ( #9796 )
6 years ago
Yamagishi Kazutoshi
6eae9c5601
Installing libxml2 and libxslt on Docker ( #9680 )
6 years ago
Isatis
638cac58b6
Dockerfile: Nodejs 8.12 -> 8.14 ( #9532 )
6 years ago
ashleyhull-versent
b88c202e6c
Update Dockerfile ( #9026 )
6 years ago
Isatis
59ed79b1f0
Dockerfile: update Node to 8.12.0 and put Ruby on Alpine 3.7 for build system memory help ( #8842 )
6 years ago
ashleyhull-versent
7b1d835fd0
Revert "Updated ruby/node images" ( #8712 )
...
* Revert "update vagrant configs (#8706 )"
This reverts commit 272053adee
.
* Revert "Updated ruby/node images (#8700 )"
This reverts commit 8a6db140ca
.
6 years ago
ashleyhull-versent
8a6db140ca
Updated ruby/node images ( #8700 )
6 years ago
Kevin Liu
0c34e68653
Dockerfile: run asset precompilation as a build step ( #7780 )
...
* Dockerfile: run asset precompilation as a build step
* Replace OTP_SECRET and SECRET_KEY_BASE with placeholders
6 years ago
Yamagishi Kazutoshi
cce7eb0316
Upgrade Node.js to v8.x on Docker image ( #8019 )
6 years ago
Yamagishi Kazutoshi
2275752fca
Upgrade webpack to version v4.x ( #6655 )
6 years ago
Yamagishi Kazutoshi
a947b55daf
Add symbolic link for yarnpkg ( #7894 )
6 years ago
Yamagishi Kazutoshi
d134e6f38f
Add /mastodon/bin to $PATH ( #7889 )
6 years ago
Yamagishi Kazutoshi
1fbeac0c82
Update Ruby to version 2.4.4 ( #6964 )
...
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
> This release includes some bug fixes and some security fixes.
>
> - CVE-2017-17742: HTTP response splitting in WEBrick
> - CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir
> - CVE-2018-8777: DoS by large request in WEBrick
> - CVE-2018-8778: Buffer under-read in String#unpack
> - CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket
> - CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
> - Multiple vulnerabilities in RubyGems
7 years ago
Eugen Rochko
a235678802
Re-add git and nodejs-npm to Dockerfile ( #6810 )
...
Fix #6809
I don't know why, either
7 years ago
Eugen Rochko
36734278ba
Downgrade Dockerfile to Ruby 2.4.3 on Alpine 3.6 ( #6806 )
...
Fix 6734
7 years ago
Akihiko Odaki
53b39b8042
Use Alpine Linux yarn package in Docker ( #6725 )
...
Yarn was manually installed to meet the Yarn version requirement of
webpacker. Today, Alpine Linux 3.7 provides Yarn new enough.
7 years ago
Akihiko Odaki
9e68e02c8e
Remove su-exec from Docker image ( #6722 )
...
It is no longer necessary since commit
aff432db1e
.
7 years ago