Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Docker Image の縮小化 #6

Open
Okabe-Junya opened this issue May 16, 2023 · 1 comment
Open

[Feature]: Docker Image の縮小化 #6

Okabe-Junya opened this issue May 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Okabe-Junya
Copy link
Member

Feature description

ns3-gymのDocker Image を縮小する.

Motivation

ns3-gymのDocker Imageのサイズは大きい.これだけ大きいと気軽にビルドできないし,docker-hub のようなコンテナリポジトリに気軽にpushできない.

$ docker image ls -a | grep ns
ns3-gym                                                   latest                                                                       c3f5d063a287   3 hours ago     2.39GB

しかし,Dockerfileの中で COPY . /ns3-gym を実行しており,かつ .dockerignore が用意されていないので,ファイルをちょっと変更しただけでビルドの必要に駆られる.

色々カス運用になってしまっているので何とかする.

Additional context

No response

@Okabe-Junya Okabe-Junya added the enhancement New feature or request label May 16, 2023
@Okabe-Junya
Copy link
Member Author

ファイルをちょっと変更しただけでビルドの必要に駆られる.

普通にrunするときにディレクトリをマウントすれば良さそう...??(./waf で依存されていなければ)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant