Shlee
f8a0c00920
Update nodejs in Dockerfile ( #12052 )
5 years ago
Shlee
ea8c781ec7
Update Ruby in Dockerfile ( #12050 )
5 years ago
Yamagishi Kazutoshi
d7ed697030
Use prebuilt node.js on Docker image ( #11768 )
5 years ago
Shlee
59b013df5f
Update NodeJS source for Docker Image ( #11707 )
* Update Ruby/Node/jemalloc source for Docker Image
* Update Dockerfile
* Update Dockerfile
5 years ago
Shlee
33f4b6e1eb
Update Dockerfile ( #11710 )
5 years ago
Eugen Rochko
15c7478c55
Change Dockerfile to bind to 0.0.0.0 instead of docker-compose.yml ( #11351 )
5 years ago
Sandro Jäckel
1e6a1ea075
Docker: Remove dist-upgrade ( #10822 )
5 years ago
Sandro Jäckel
c90f3b9865
Docker: Keep /var/lib/apt/ to keep apt working ( #10830 )
5 years ago
Alfie John
0852e643b7
Expand abbreviation to minimise confusion ( #10826 )
5 years ago
Ben Lubar
d36fcb54c4
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.
5 years ago
mohemohe
16fb39cffc
Fix fail health check due to missing wget ( #10110 )
5 years ago
Sir-Boops
1dbf993bce
Switch to Ubuntu for docker ( #10100 )
5 years ago
J0WI
26c1aba658
Do not use apk cache and upgrade ( #9966 )
5 years ago
J0WI
11d1502853
Replace LibreSSL by OpenSSL ( #9975 )
5 years ago
ashleyhull-versent
5c873a4ed7
Update Dockerfile ( #9965 )
5 years ago
ashleyhull-versent
8ec539fef1
Update Dockerfile ( #9796 )
5 years ago
Yamagishi Kazutoshi
ea03faa167
Installing libxml2 and libxslt on Docker ( #9680 )
5 years ago
Isatis
5f0d3e8bad
Dockerfile: Nodejs 8.12 -> 8.14 ( #9532 )
6 years ago
ashleyhull-versent
51677ff070
Update Dockerfile ( #9026 )
6 years ago
Isatis
49b182cd51
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
94f9cb0855
Revert "Updated ruby/node images" ( #8712 )
* Revert "update vagrant configs (#8706 )"
This reverts commit 8971bb8cf2
.
* Revert "Updated ruby/node images (#8700 )"
This reverts commit 5aae71cf60
.
6 years ago
ashleyhull-versent
5aae71cf60
Updated ruby/node images ( #8700 )
6 years ago
Kevin Liu
68cccb00ef
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
0eacf2b419
Upgrade Node.js to v8.x on Docker image ( #8019 )
6 years ago
Yamagishi Kazutoshi
e9b322d0a6
Upgrade webpack to version v4.x ( #6655 )
6 years ago
Yamagishi Kazutoshi
523d8f20e3
Add symbolic link for yarnpkg ( #7894 )
6 years ago
Yamagishi Kazutoshi
097fd44978
Add /mastodon/bin to $PATH ( #7889 )
6 years ago
Yamagishi Kazutoshi
f464f98fd3
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
6 years ago
David Yip
995b59526b
Re-insert stack size fix in Dockerfile
6 years ago
Eugen Rochko
844616e950
Re-add git and nodejs-npm to Dockerfile ( #6810 )
Fix #6809
I don't know why, either
6 years ago
Eugen Rochko
0074cad44f
Downgrade Dockerfile to Ruby 2.4.3 on Alpine 3.6 ( #6806 )
Fix 6734
6 years ago
Akihiko Odaki
36579bac88
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.
6 years ago
Akihiko Odaki
58a4633707
Remove su-exec from Docker image ( #6722 )
It is no longer necessary since commit
be9bab171d
.
6 years ago
Akihiko Odaki
494969d394
Remove git from Docker image ( #6724 )
6 years ago
Yamagishi Kazutoshi
ed902581d3
Update Yarn to version 1.5.1 ( #6689 )
6 years ago
Eugen Rochko
d7573fe584
Separate chown command in Dockerfile. Use tootsuite/mastodon image ( #6662 )
Fix #6605
6 years ago
Akihiko Odaki
81cefc1913
Do not use npm ( #6656 )
Both of yarn and npm are used in Mastodon, but the combined usage requires
a redundant dependency and may lead to data inconsistency.
Considering that yarn has autoclean feature which npm does not have,
this change replaces all npm usage with yarn.
This change requires documentation update. Most notably, the following
command must be executed before assets precompilation if any system
dependency of node-sass has changed:
yarn install --force --pure-lockfile
6 years ago
haosbvnker
3d4e788ea9
Fix permissions for volumes ( #6637 )
When volumes are declared, but the corresponding directories don't exist, permissions for those directories will be root:root instead of mastodon:mastodon..
This changes makes sure the permissions of the volume directories are as expected.
6 years ago
Moritz Heiber
a4fd4ad1d5
Fix build error for missing variable interpolation in chown instruction ( #6519 )
6 years ago
Eugen Rochko
be9bab171d
Set Docker permissions during the build process ( #6514 )
* Set Docker permissions during the build process
* Remove docker_entrypoint.sh and use COPY with chown
6 years ago
Yamagishi Kazutoshi
7233ac07d2
Add support Ruby v2.5.0 ( #6097 )
6 years ago
Pierre Ozoux
7be53a10b0
Fix "tzinfo-data is not present" docker error ( #6300 )
when starting the container.
6 years ago
David Yip
f13ebd02c9
dockerfile: Give more stack space to /sbin/tini.
/sbin/tini ends up running the Sass compiler, which seems to need a
larger thread stack size than the musl default. This patch incorporates
a fix from
https://raw.githubusercontent.com/jubel-han/dockerfiles/master/common/stack-fix.c ,
as described in https://github.com/sass/node-sass/issues/2031 .
7 years ago
Yamagishi Kazutoshi
34e2a06de0
Update Yarn to version 1.3.2 ( #5900 )
7 years ago
Alex Coto
ae6dd08121
Change libinconv download URL to HTTPS ( #5738 )
7 years ago
Hinaloe
1e1d788757
Reduce container size with clean yarn ( #3506 )
* Reduce container size with clean yarn
* Merge trouble
7 years ago
Yamagishi Kazutoshi
b9f59ebcc6
Update Yarn to version 1.1.0 ( #5125 )
* Update Yarn to version 1.1.0
* remove hard-coding
7 years ago
Daigo 3 Dango
66be6475b6
Bump ruby version to 2.4.2 ( #4958 )
* Bump ruby version to 2.4.2
https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-4-2-released/
Gemfile.lock is also updated.
TODO
- [ ] Update Dockerfile with Alpine release of ruby-2.4.2
* Revert jwt version
It seems that jwt 2.0.0 fails in some environment.
ref. https://github.com/zaru/webpush/issues/42
* Bump Ruby version on docker image
7 years ago
Wonderfall
cecf204bbb
Update to Alpine 3.6 ( #4747 )
7 years ago
Thomas Leister
5d408fd9aa
[Docker] Add multicore support to "make" and "bundler" ( #4544 )
* Let make and bundler use multiple cores
* Adds -j option to bundle install instead of bundle config
7 years ago