Commit Graph

65 Commits

Author SHA1 Message Date
Masaya Suzuki eea33d07fd
fix: aptのキャッシュを削除しないようにする (#9803) 2023-02-05 14:15:59 +09:00
Masaya Suzuki f599337320
DockleのCI追加 (#9568)
* Dockerイメージ検査のCI追加

* Add cp

* step分離

* step分離

* rm depends_on

* Dockle実行時に必要なイメージタグ付与処理をCI内で行う

* 末尾に移動

* Add comment

* .git削除処理をビルドステージに移動

* docker-compose.yml作成処理追加

* aptのキャッシュ削除処理追加

* ヘルスチェック用スクリプト追加

* yqインストール処理修正

* Add ca-certificates

* yqインストール処理をビルドステージに移動

* インデントを揃える

* インデントをタブに変更
2023-02-05 14:04:02 +09:00
Takuya Yoshida 7af0e38dd3
Use cache on build (#9639) 2023-01-27 11:30:22 +09:00
Takuya Yoshida a69c78e709
Use corepack (#9620) 2023-01-17 05:34:14 +09:00
CyberRex 6e2d7e9792
Use pnpm for package manager (#9531)
* Use pnpm for package manager

* Fix

* Change github workflow

* use pnpm in workflow

* fix

* Fix test (e2e/jest)

* Update Dockerfile for pnpm

* Exclude node_modules from file search on VSCode

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Move typescript from devDependencies to dependencies

* Fix Dockerfile

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-16 06:08:42 +09:00
CyberRex 91a3c3943d
Dockerfile: copy fluent-emoji assets (#9605) 2023-01-16 02:24:37 +09:00
Takuya Yoshida e1bd61c70e
Change docker user to non-root (#9560) 2023-01-14 21:09:11 +09:00
syuilo 7bdff90415 update node 2023-01-10 09:32:56 +09:00
syuilo 9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00
Takuya Yoshida 9314ceae36
Improve Dockerfile (#9105)
* Improve Dockerfile

* Update base image

* Add copy layer

* Delete unused RUN

* Update Dockerfile

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-12-22 14:30:35 +09:00
rinsuki 54ccacff97
fix: dockerignore not excluding packages/*/node_modules (#9296) 2022-12-08 07:30:42 +09:00
tamaina d9541a7db8
fix: Update Dockerfile (#9292)
- copy .yarn/install-state.gz
- add --immutable to yarn install
2022-12-08 03:16:05 +09:00
syuilo 1751bfea5f update node to v18 2022-11-13 11:23:14 +09:00
MeiMei 417e75b470
DockerでAlpineではなくDebianを使用するように (#8966)
* Debian

* CHANGELOG

* Update CHANGELOG
2022-07-08 17:17:21 +09:00
Takuya Yoshida a8e779a68c
Power up (#8684) 2022-05-15 22:22:06 +09:00
syuilo 70958a9f77 update node to 18 2022-04-23 12:37:44 +09:00
syuilo 8dcdbddbfb fix: use import assertion 2022-03-01 00:40:53 +09:00
MeiMei 7ba5512a65
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 974250da6c
Fix v12.96.x Docker (#7982) 2021-11-14 10:43:19 +09:00
syuilo 9acc36185b Update Dockerfile 2021-11-12 11:46:17 +09:00
Jun Kurihara 65d9c304df
fix Dockerfile (#7763)
* fix Dockerfile

* remove unnecessary change

* add misskey-assets in .dockerignore
2021-09-05 02:18:12 +09:00
syuilo 8407702b38
藍モード (#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 1cd6ba3c1d
chore: Remove vips from Dockerfile (#7633) 2021-08-15 18:12:46 +09:00
syuilo bde114ad13 Update node 2021-08-12 11:28:51 +09:00
syuilo ecd541873b Update node version 2021-05-21 17:27:09 +09:00
syuilo 6573c3b522 Use Node.js v16 2021-04-28 09:22:01 +09:00
syuilo 79e60afd42
Update Dockerfile 2021-04-17 18:37:10 +09:00
MeiMei 44167ab84c
Use alpine3.13 on Docker (#7249) 2021-03-05 14:46:58 +09:00
takenoko d8872ca278
Use Node v14.15.4 (#7154) 2021-02-08 14:12:57 +09:00
MeiMei 3584786387
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 f0d0a1546a
Use node v14.15.0 (#6837)
* Use node v14.15.0

* Update Dockerfile
2020-11-15 12:35:28 +09:00
syuilo 7aa54dc92e Update Dockerfile 2020-11-14 15:12:43 +09:00
syuilo be321e95e5 Bump node version 2020-11-14 09:45:16 +09:00
rinsuki 9c5efb9da0
Dockerのビルド時にgitを入れるように (#6639)
917d3d0bd3 でgitの依存関係が追加されたのにgitが入っていないのでコケていた
2020-08-10 01:33:01 +09:00
syuilo 3599f16d22 chore(deps): Update dependencies 🚀 2020-06-27 23:25:06 +09:00
rinsuki f07564a452
docker buildでyarn.lockを考慮してなかったのを修正 (#6330) 2020-05-08 17:45:59 +09:00
syuilo d0f68bb5d1 chore: Use node 14.2 2020-05-07 08:45:52 +09:00
syuilo 808c680184 chore(docker): Use node 14 2020-04-26 11:15:53 +09:00
syuilo 2671c6b4f2 Use node 12.11.1 2019-10-04 16:59:12 +09:00
syuilo f4cb62db16 Update node version 2019-09-27 05:19:06 +09:00
syuilo 8de2f4ce76 Update node to 12.9.1 2019-09-03 05:43:44 +09:00
syuilo fe88b34b8a Update node version 2019-08-18 14:56:54 +09:00
Acid Chicken (硫酸鶏) 4c79dd4e96
Use yarn (#5154)
* Revert "✌️"

This reverts commit b5b437b878.

* 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 (硫酸鶏) 6e042ca344
Revert "Docker: Back to npm from yarn (#4730)"
This reverts commit 112a72abdf.
2019-07-14 09:58:45 +09:00
Satsuki Yanagi a8f945ae8e Update node version (#5101) 2019-07-05 02:48:32 +09:00
syuilo 50df9f7dff Update node version 2019-07-05 02:12:23 +09:00
syuilo 23a257ed86
Update Dockerfile 2019-05-19 03:21:39 +09:00
syuilo a21357248f
Dockerを使用している場合、アプデの際にマイグレを自動実行するように 2019-05-16 16:12:30 +09:00
syuilo e62c810b7c
Use node 12 2019-05-04 14:53:46 +09:00
かひわし4(バージョン1) 112a72abdf 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