ソースイメージ (OS) なしで docker ファイルを使用して docker イメージを作成できますか?
FROM rhel
すべてのアプリケーション Docker イメージにベース イメージ (centos または rhel) は必要ありません。基本イメージ (centos または rhel) とアプリケーション イメージを分離し、実行時にそれらをリンクしたいと考えています。出来ますか?
またはなし でドッカー イメージをビルドすると、ドッカーは「コミットする前にソース イメージを提供してください」と文句を言います。FROM centosrhel
私のドッカーファイルは次のようになります。
MAINTAINER abc
RUN mkdir /opt/cassandra
RUN cd /opt/cassandra
RUN wget http://www.interior-dsgn.com/apache/cassandra/2.1.2/apache-cassandra-2.1.2-bin.tar.gz
RUN tar xvzf apache-cassandra-2.1.2-bin.tar.gz
RUN cd apache-cassandra-2.1.2-bin