Module: DockerfileRB

Defined in:
lib/dockerfile-rb.rb,
lib/dockerfile-rb/add.rb,
lib/dockerfile-rb/arg.rb,
lib/dockerfile-rb/cmd.rb,
lib/dockerfile-rb/env.rb,
lib/dockerfile-rb/run.rb,
lib/dockerfile-rb/copy.rb,
lib/dockerfile-rb/from.rb,
lib/dockerfile-rb/user.rb,
lib/dockerfile-rb/label.rb,
lib/dockerfile-rb/expose.rb,
lib/dockerfile-rb/volume.rb,
lib/dockerfile-rb/version.rb,
lib/dockerfile-rb/workdir.rb,
lib/dockerfile-rb/entrypoint.rb,
lib/dockerfile-rb/maintainer.rb,
lib/dockerfile-rb/stopsignal.rb,
lib/dockerfile-rb/healthcheck.rb

Defined Under Namespace

Modules: AddParser, ArgParser, CmdParser, CopyParser, EntrypointExecParser, EntrypointShellParser, EnvKeyValueParser, EnvWhitespaceParser, ExposeParser, FromParser, HealthcheckNoneParser, LabelParser, MaintainerParser, RunExecParser, RunShellParser, StopsignalParser, UserParser, VolumeJSONParser, VolumeStringParser, WorkdirParser Classes: Add, Arg, Cmd, Copy, Entrypoint, Env, Error, Expose, From, Healthcheck, Label, Maintainer, Run, Stopsignal, User, Volume, Workdir

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.parse(content) ⇒ Object



25
26
27
# File 'lib/dockerfile-rb.rb', line 25

def self.parse(content)
  DockerfileRB::Dockerfile.parse(content).value
end