最近 Kotlin を勉強し始めた。
なかなか刺激になったので、久しぶりに何か書こうと思ったら、 2020-03-18 くらいに何かを書こうとしていたらしい。

新型コロナの影響で出張もできなかったので、暇つぶし的に heroku を使っていたら何か思ったのでしょう。
なにかに使えるかもしれないのでそのまま残しておきます。

1
2
3
4
5
6
7
8
9
10
11
12
13
→ mojo version
CORE
Perl (v5.30.2, darwin)
Mojolicious (8.34, Supervillain)

OPTIONAL
Cpanel::JSON::XS 4.09+ (4.19)
EV 4.0+ (4.32)
IO::Socket::Socks 0.64+ (0.74)
IO::Socket::SSL 2.009+ (2.067)
Net::DNS::Native 0.15+ (0.22)
Role::Tiny 2.000001+ (2.001004)
Future::AsyncAwait 0.36+ (0.37)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
→ docker version
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:22:34 2019
OS/Arch: darwin/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:29:19 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
1
2
→ heroku version
heroku/7.39.0 darwin-x64 node-v12.13.0
1
2
3
4
5
→ heroku login
heroku: Press any key to open up the browser to login or q to exit:
Opening browser to https://cli-auth.heroku.com/auth/...
Logging in... done
Logged in as nobu@nishimiyahara.net
1
2
3
4
5
6
7
8
9
10
11
12
13
14
→ heroku help container
Use containers to build and deploy Heroku apps

USAGE
$ heroku container

COMMANDS
container:login log in to Heroku Container Registry
container:logout log out from Heroku Container Registry
container:pull pulls an image from an app's process type
container:push builds, then pushes Docker images to deploy your Heroku app
container:release Releases previously pushed Docker images to your Heroku app
container:rm remove the process type from your app
container:run builds, then runs the docker image locally