Commit graph

132 commits

Author SHA1 Message Date
Namekuji
175cb184d3 add rust to the runtime container for migrations 2023-06-04 16:29:24 -04:00
Kainoa Kanter
a80b6eeb82 fix outdated docker deps 2023-06-03 09:12:32 +00:00
ThatOneCalculator
62b7e57add fix: 🐛 add zip/unzip to docker container
Closes #9843
2023-05-08 14:06:15 -07:00
Kainoa Kanter
799ac84ee3 Revert "Revert "Incorporate calckey-js into calckey repository (#9820)""
This reverts commit 8033492c7c4827fbff05782d08ae65bc3440c080.
2023-04-07 17:44:27 -07:00
Kainoa Kanter
a5c4d0a7bd Revert "Incorporate calckey-js into calckey repository (#9820)"
This reverts commit 37c0423da6bce9b86b8f4f9a5b78f640166dd3d5.
2023-04-07 17:35:10 -07:00
Kaity A
21905514d4 Incorporate calckey-js into calckey repository (#9820)
Closes #9712.

Co-authored-by: Kaity A <kaity@theallans.com.au>
Co-authored-by: Ken Allan <ken@norganna.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9820
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-04-07 14:25:22 +00:00
ThatOneCalculator
f8565b226a add VIPS to dockerfile 2023-04-02 02:09:49 -07:00
ThatOneCalculator
c35d716ebb fix: add copy for build from native-utils 2023-04-02 02:07:02 -07:00
ThatOneCalculator
34865c1af3 fix: dockerfile 2023-04-02 01:59:18 -07:00
ThatOneCalculator
158d85fea4 attempt to fix #9797 2023-04-01 21:44:19 -07:00
ThatOneCalculator
cada8687bd fix: add cargo to DOCKERFILE 2023-04-01 13:24:25 -07:00
ThatOneCalculator
53955ae42f add rust to docker 2023-03-30 19:02:23 -07:00
RoiArthurB
0af841c480 [DOCKER] Add vips-dev as runtime dependencies - Fix #9596
Signed-off-by: RoiArthurB <roiarthurb@noreply.codeberg.org>
2023-02-17 06:38:47 +00:00
Asrael
eeee91dcb4 build: reduce container size by removing dev dependencies from final image
This change moves many of the dependencies into devDependencies, by analyzing what is used in the runtime files. Additionally, NPM and apk cache are eliminated with multi-stage builds
2023-02-03 21:38:40 -08:00
ThatOneCalculator
ac64087a1e no more eslint 2023-01-12 20:54:33 -08:00
Kainoa Kanter
19596a91e4 refactor: 🔨 Use pnpm instead of yarn (#9461)
Reasons:

1. `pnpm` is now an industry standard, being faster and less buggy than `yarn`.
2. Faster build time as builds are concurrent: 63 seconds down to 35 seconds!!
3. Resolves #9412

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9461
2023-01-13 04:18:16 +00:00
Jae Lo Presti
01745e2751 Dockerfile: path builds producing brick image 2023-01-08 11:26:35 +00:00
cutestnekoaqua
d54e492b94 docker immutable install 2022-12-27 00:46:56 +01:00
cutestnekoaqua
b16f320607 Reproducible Builds 2022-12-27 00:24:19 +01:00
ThatOneCalculator
f6589655b1 chore: dockerfile cleanup 2022-12-17 09:22:25 -08:00
chimiana
1a99b4230f Update Dockerfile with python3 dependency required for docker-compose build step to succeed 2022-12-10 03:18:45 +00:00
Jae Lo Presti (DN0)
aa58c140aa Docker: patch Docker build 2022-10-26 08:04:19 +03:00
ThatOneCalculator
b3f47003c1 calckey 🐋 2022-08-22 22:11:29 -07:00
ThatOneCalculator
6cdfadc891 Fix bullboard 2022-08-07 23:22:49 -07:00
Hanna
345fd0688c Update 'Dockerfile' 2022-08-08 05:32:59 +02:00
ThatOneCalculator
8ede97275c berry docker 2022-07-26 12:21:39 -07:00
ThatOneCalculator
1b41630247 df 2022-07-18 22:06:31 -07:00
ThatOneCalculator
3938786fed yarn lol 2022-07-18 22:04:21 -07:00
MeiMei
a83cbe043d DockerでAlpineではなくDebianを使用するように (#8966)
* Debian

* CHANGELOG

* Update CHANGELOG
2022-07-08 17:17:21 +09:00
ThatOneCalculator
eb9fbc99e1 use "packageManager" 2022-05-29 17:08:57 -07:00
Kainoa Kanter
83803083cd Update Dockerfile 2022-05-29 12:48:03 -07:00
Takuya Yoshida
5788613bb3 Power up (#8684) 2022-05-15 22:22:06 +09:00
syuilo
555c9b3cd8 update node to 18 2022-04-23 12:37:44 +09:00
syuilo
429f280caf fix: use import assertion 2022-03-01 00:40:53 +09:00
MeiMei
895cdfcedd Node v16.13.2 (#8281)
* Node v16.13.2

* 一瞬CI変更

* Revert "一瞬CI変更"

This reverts commit 144df615a8eb44f621188334b18c1a73277126e2.
2022-02-09 22:20:28 +09:00
MeiMei
b8e6d2bc56 Fix v12.96.x Docker (#7982) 2021-11-14 10:43:19 +09:00
syuilo
ba16810b64 Update Dockerfile 2021-11-12 11:46:17 +09:00
Jun Kurihara
983d94ff2d fix Dockerfile (#7763)
* fix Dockerfile

* remove unnecessary change

* add misskey-assets in .dockerignore
2021-09-05 02:18:12 +09:00
syuilo
790c624b75 藍モード (#7687)
* wip

* wip

* シンボリックリンクやめた

* install lib dependency

* bring live2d assets from misskey-dev/assets

* refactor

* nanka iroiro

* コミット忘れ

* random motion

* wip

* run git submodule update --init

* コミット忘れ

* refactor

* fix bug

* Update misskey-assets

* lint

* lint

* lint

* 藍モード修正 (#7702)

* lazy load live2d script

* fix typo

* lazy load also widget

* hot link to cubism core

* https://github.com/misskey-dev/misskey/pull/7702/files#r695623821

* fix lint

* remove live2d stuff

* use iframe

* update

* Update gulpfile.ts

* update

* Update .gitattributes

* update

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2021-09-04 17:54:24 +09:00
MeiMei
eca9675002 chore: Remove vips from Dockerfile (#7633) 2021-08-15 18:12:46 +09:00
syuilo
c810de0420 Update node 2021-08-12 11:28:51 +09:00
syuilo
c0aabfd46a Update node version 2021-05-21 17:27:09 +09:00
syuilo
ce3f5da89e Use Node.js v16 2021-04-28 09:22:01 +09:00
syuilo
e6e236fcda Update Dockerfile 2021-04-17 18:37:10 +09:00
MeiMei
22764d4dd7 Use alpine3.13 on Docker (#7249) 2021-03-05 14:46:58 +09:00
takenoko
28ccc8977d Use Node v14.15.4 (#7154) 2021-02-08 14:12:57 +09:00
MeiMei
c1b0e998fb Use Node v14.15.1 (#6861)
https://nodejs.org/en/blog/vulnerability/november-2020-security-releases/
2020-11-28 14:20:32 +09:00
takenoko
67d731cc64 Use node v14.15.0 (#6837)
* Use node v14.15.0

* Update Dockerfile
2020-11-15 12:35:28 +09:00
syuilo
0cfc229e39 Update Dockerfile 2020-11-14 15:12:43 +09:00
syuilo
1967d0c3a3 Bump node version 2020-11-14 09:45:16 +09:00
rinsuki
0cdca54cf9 Dockerのビルド時にgitを入れるように (#6639)
917d3d0bd3 でgitの依存関係が追加されたのにgitが入っていないのでコケていた
2020-08-10 01:33:01 +09:00
syuilo
ae496a25b5 chore(deps): Update dependencies 🚀 2020-06-27 23:25:06 +09:00
rinsuki
a130d013b1 docker buildでyarn.lockを考慮してなかったのを修正 (#6330) 2020-05-08 17:45:59 +09:00
syuilo
8706793d89 chore: Use node 14.2 2020-05-07 08:45:52 +09:00
syuilo
eb54c62886 chore(docker): Use node 14 2020-04-26 11:15:53 +09:00
syuilo
f6f32d480d Use node 12.11.1 2019-10-04 16:59:12 +09:00
syuilo
ff8bb10798 Update node version 2019-09-27 05:19:06 +09:00
syuilo
ef65a53430 Update node to 12.9.1 2019-09-03 05:43:44 +09:00
syuilo
c1bcde1a1a Update node version 2019-08-18 14:56:54 +09:00
Acid Chicken (硫酸鶏)
80c356573e Use yarn (#5154)
* Revert "✌️"

This reverts commit b5b437b8784eb32531e0965d722ddb691775df08.

* Welcome back, yarn.lock

[lockfiles for all](https://yarnpkg.com/blog/2016/11/24/lockfiles-for-all/)

* Use alpine package registry instead of npm's

* Avoid npx

* Remove `"`

* Follow review

refs: https://github.com/syuilo/misskey/pull/5154#discussion_r303227256

* Update lockfile

* Use yarn instead of npm run

refs: https://github.com/syuilo/misskey/pull/5154#discussion_r303227285

* Back to npm

* Follow review

refs: https://github.com/syuilo/misskey/pull/5154#discussion_r303292279
2019-07-15 21:32:09 +09:00
Acid Chicken (硫酸鶏)
e21a6f97bc Revert "Docker: Back to npm from yarn (#4730)"
This reverts commit 112a72abdfb78f8f6c76891e721029f4dc87d5c3.
2019-07-14 09:58:45 +09:00
Satsuki Yanagi
6689edd356 Update node version (#5101) 2019-07-05 02:48:32 +09:00
syuilo
3545cc7b9e Update node version 2019-07-05 02:12:23 +09:00
syuilo
8047314aba Update Dockerfile 2019-05-19 03:21:39 +09:00
syuilo
a6f77f1033 Dockerを使用している場合、アプデの際にマイグレを自動実行するように 2019-05-16 16:12:30 +09:00
syuilo
f2728b57d1 Use node 12 2019-05-04 14:53:46 +09:00
かひわし4(バージョン1)
132c190374 Docker: Back to npm from yarn (#4730)
This commit reverts "Fix Dockerfile #4214" which uses yarn instead of npm.
The cause of the build error is that binding.gyp and src/crypto_key.cc
are missing when installing dependencies.
In other words, yarn did not fix build error.

There is no reason to use yarn, so go back to npm.
2019-04-18 01:09:31 +09:00
syuilo
2b8602bd1b Use PostgreSQL instead of MongoDB (#4572)
* wip

* Update note.ts

* Update timeline.ts

* Update core.ts

* wip

* Update generate-visibility-query.ts

* wip

* wip

* wip

* wip

* wip

* Update global-timeline.ts

* wip

* wip

* wip

* Update vote.ts

* wip

* wip

* Update create.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update files.ts

* wip

* wip

* Update CONTRIBUTING.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update read-notification.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update cancel.ts

* wip

* wip

* wip

* Update show.ts

* wip

* wip

* Update gen-id.ts

* Update create.ts

* Update id.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Docker: Update files about Docker (#4599)

* Docker: Use cache if files used by `yarn install` was not updated

This patch reduces the number of times to installing node_modules.
For example, `yarn install` step will be skipped when only ".config/default.yml" is updated.

* Docker: Migrate MongoDB to Postgresql

Misskey uses Postgresql as a database instead of Mongodb since version 11.

* Docker: Uncomment about data persistence

This patch will save a lot of databases.

* wip

* wip

* wip

* Update activitypub.ts

* wip

* wip

* wip

* Update logs.ts

* wip

* Update drive-file.ts

* Update register.ts

* wip

* wip

* Update mentions.ts

* wip

* wip

* wip

* Update recommendation.ts

* wip

* Update index.ts

* wip

* Update recommendation.ts

* Doc: Update docker.ja.md and docker.en.md (#1) (#4608)

Update how to set up misskey.

* wip

* ✌️

* wip

* Update note.ts

* Update postgre.ts

* wip

* wip

* wip

* wip

* Update add-file.ts

* wip

* wip

* wip

* Clean up

* Update logs.ts

* wip

* 🍕

* wip

* Ad notes

* wip

* Update api-visibility.ts

* Update note.ts

* Update add-file.ts

* tests

* tests

* Update postgre.ts

* Update utils.ts

* wip

* wip

* Refactor

* wip

* Refactor

* wip

* wip

* Update show-users.ts

* Update update-instance.ts

* wip

* Update feed.ts

* Update outbox.ts

* Update outbox.ts

* Update user.ts

* wip

* Update list.ts

* Update update-hashtag.ts

* wip

* Update update-hashtag.ts

* Refactor

* Update update.ts

* wip

* wip

* ✌️

* clean up

* docs

* Update push.ts

* wip

* Update api.ts

* wip

* ✌️

* Update make-pagination-query.ts

* ✌️

* Delete hashtags.ts

* Update instances.ts

* Update instances.ts

* Update create.ts

* Update search.ts

* Update reversi-game.ts

* Update signup.ts

* Update user.ts

* id

* Update example.yml

* 🎨

* objectid

* fix

* reversi

* reversi

* Fix bug of chart engine

* Add test of chart engine

* Improve test

* Better testing

* Improve chart engine

* Refactor

* Add test of chart engine

* Refactor

* Add chart test

* Fix bug

* コミットし忘れ

* Refactoring

* ✌️

* Add tests

* Add test

* Extarct note tests

* Refactor

* 存在しないユーザーにメンションできなくなっていた問題を修正

* Fix bug

* Update update-meta.ts

* Fix bug

* Update mention.vue

* Fix bug

* Update meta.ts

* Update CONTRIBUTING.md

* Fix bug

* Fix bug

* Fix bug

* Clean up

* Clean up

* Update notification.ts

* Clean up

* Add mute tests

* Add test

* Refactor

* Add test

* Fix test

* Refactor

* Refactor

* Add tests

* Update utils.ts

* Update utils.ts

* Fix test

* Update package.json

* Update update.ts

* Update manifest.ts

* Fix bug

* Fix bug

* Add test

* 🎨

* Update endpoint permissions

* Updaye permisison

* Update person.ts

#4299

* データベースと同期しないように

* Fix bug

* Fix bug

* Update reversi-game.ts

* Use a feature of Node v11.7.0 to extract a public key (#4644)

* wip

* wip

* ✌️

* Refactoring

#1540

* test

* test

* test

* test

* test

* test

* test

* Fix bug

* Fix test

* 🍣

* wip

* #4471

* Add test for #4335

* Refactor

* Fix test

* Add tests

* 🕓

* Fix bug

* Add test

* Add test

* rename

* Fix bug
2019-04-07 21:50:36 +09:00
かひわし4(バージョン1)
ddf8165a7b Docker: Add support for service worker (#4296)
Service worker requires web-push package.
2019-02-17 21:26:00 +09:00
Acid Chicken (硫酸鶏)
13cfeb6b7b Docker: Remove unnecessary workaround for BusyBox's "free" (#4199) (#4213)
systeminformation gets incorrect memory information due to BusyBox's
"free" issue.(#3409)
A workaround for avoiding it was made.

But it never works because the runner container has no effect.
It should be deleted.
2019-02-13 23:45:58 +09:00
Acid Chicken (硫酸鶏)
22dd220c6d Fix Dockerfile (#4214)
* Update Dockerfile

* Update Dockerfile
2019-02-10 16:14:48 +09:00
かひわし4(バージョン1)
5b9ccf0b4f Add ffmpeg package for the runner container (#4145)
* Revert "Update Dockerfile (#4090)"

This reverts commit 6758b0f133bc89e4d6ad660172d48e026f4e047d.

* Docker: Add ffmpeg package for the runner container

Misskey 10.81.0 added thumbnail generation support.
However it did not work with Docker bacause ffmpeg has not been
installed in the runner container.
2019-02-05 19:32:53 +09:00
Acid Chicken (硫酸鶏)
ea1305c77d Update Dockerfile (#4090)
* Update Dockerfile

* Fix indent
2019-02-03 18:30:47 +09:00
Acid Chicken (硫酸鶏)
8de31e7a56 Fix #3409 (#3410)
* Update Dockerfile

* Update Dockerfile
2018-11-27 00:32:56 +09:00
Acid Chicken (硫酸鶏)
1dbc9e47a1 Use Node.js official Docker image (#3241)
* Update Dockerfile

* Update Dockerfile
2018-11-15 21:43:02 +09:00
かひわし4(バージョン1)
aa653ff3af Use cache when default.yml update (#3042)
* Use cache when default.yml update

* Install latest npm in base image
2018-10-30 21:18:03 +09:00
Acid Chicken (硫酸鶏)
a4d1ece6e9 Configure CI (#3037)
* Update config.yml

* Configure CI

* Use Vesion 2.1

* Fix error

* Ensure binary builds

* Ensure misskey builds

* Store artifacts

* Ensure node-gyp builds

* Fix typo

* Fix typo

* Ensure binary builds

* Update working directory

* Cache test npm packages

* Revert "Update working directory"

* Ensure misskey builds

* Ensure node-gyp builds

* Fix missing configurations

* Configure deploy filters

* Use latest npm in Docker
2018-10-30 12:36:14 +09:00
かひわし4(バージョン1)
084b790dfe Docker関連の修正 (#2997)
* Modify Dockerfile and docker-compose.yml

* Fix MongoDB connection error
* Use alpine-3.8 instead of alpine-edge as base image
* Modify install packages
* Modify Mongodb image tag name

* Update Docker documents

* Add 'Download misskey' paragraph

* Make redis optional for Docker
2018-10-24 14:36:42 +09:00
かひわし4(バージョン1)
927beab570 Fix build error for Docker (#2982) 2018-10-23 04:39:00 +09:00
かひわし4(バージョン1)
1c4cde5235 Docker (#2867)
* Dockerize Misskey

* Add a new line at EOF

* Add support Elasticsearch

* /

* Add setup document for docker

* Add english document

* Edit docs

* docker -> Docker

* Arrange format

* Update docker.en.md

* Modify title
2018-10-09 15:09:50 +09:00
Aya Morisawa
6e4393dc35 Move Dockerfile to ./docker 2016-12-31 13:06:52 +09:00
syuilo
88c8581a5a ✌️ 2016-12-31 06:38:14 +09:00
Renamed from docker/Dockerfile (Browse further)