2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CircleCIで使われているコンテナの中身

Posted at

CircleCIではDockerHubにあるコンテナは使用可能
ただし、CircleCIでmachineなどのオプションを使っているとその中身を知りたいときがある
machineではcircleci/classicを使っているらしいがDockerhubを探しても見つからない

machine
- https://circleci.com/docs/2.0/executor-types/#using-machine

プロビジョニング用のスクリプト

CircleCIではスクリプトを使ってコンテナ別にパッケージをインストール

例えばPythonではpyenvを使っている

machineで使われているスクリプト

以下のURLの先のSee the picard-vm-image branch of our image-builder repository for details.がそれに当たるらしい
- https://circleci.com/docs/2.0/vm-service/#configuration

picard-vm-imageのブランチ
- https://github.com/circleci/image-builder/tree/picard-vm-image/circleci-provision-scripts

ちなみに、an Ubuntu 14.04 image with Docker version 17.03.0-ce and docker-compose version 1.9.0らしいので
Ubuntu 14.04のDockerfileも見てみるとRUN sudo -H -i -u ubuntu pyenv global 2.7.11となっている・・・
もし、3系を使いたい場合はDockerコンテナ内で pyenv global 3.X.XX とすればOK

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?