Sha256: 99782f5838d45d804be9f58331e5d2ce361312142c435e19e60976e97d9a7aad
Contents?: true
Size: 778 Bytes
Versions: 4
Compression:
Stored size: 778 Bytes
Contents
FROM <%= from %> USER root RUN useradd -m -U -d <%= CIDE_DIR %> cide # Install system build dependencies here <% as_root.each do |cmd| -%> RUN <%= cmd %> <% end -%> # Common ENV HOME <%= CIDE_DIR %> WORKDIR <%= CIDE_SRC_DIR %> # Before <% if before['run'] -%> <% before['forward_env'].to_a.each do |key| -%> ENV <%= key %> <%= ENV[key] %> <% end %> <% before['add'].to_a.each do |file| -%> ADD <%= file %> <%= File.expand_path(file, CIDE_SRC_DIR) %> <% end %> RUN chown -R cide:cide <%= CIDE_DIR %> USER cide RUN <%= before['run'] %> USER root <% end -%> # Add project data ADD . <%= CIDE_SRC_DIR %> RUN chown -R cide:cide <%= CIDE_DIR %> # ENV <% forward_env.to_a.each do |key| -%> ENV <%= key %> <%= ENV[key] %> <% end %> # Test ! USER cide RUN <%= run %>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cide-0.0.7 | lib/cide_template.erb |
cide-0.0.6 | lib/cide_template.erb |
cide-0.0.5 | lib/cide_template.erb |
cide-0.0.4 | lib/cide_template.erb |