Sign inSign up

softaware/autorest

By softaware

•Updated over 7 years ago

autorest in a container

Image
0

193

softaware/autorest repository overview

⁠softaware/autorest (GitHub⁠)

autorest⁠ in a container

⁠Usage

Just use the container as you would use autorest⁠ itself. The container runs autorest --help as the default command, where --help can be overridden easily.

docker run --rm -v ${pwd}:/data softaware/autorest:1.1.0 --input-file=<input-file> --<language>

⁠Versions and Sizes

VersionImage
2.0.4283
1.1.0

⁠Motivation

With the new autorest-version it gets distributed via npm. After the installation via npm it really installs itself, to ensure specific versions and prevent this tedious installation process we decided to containerize it.

⁠Development

The image is created with create-image.ps1⁠. Please update the version information in this README⁠ according to the new versions.

⁠Options
// Parameters
[1] node-version        # node-version according to https://hub.docker.com/r/library/node/

// Flags
-silent    # omit Docker-Output only show success and error messages
-publish   # publish the created Image to Docker-Hub; `docker login` necessary
⁠Example
# create only
> .\create-image.ps1 1.1.0 -silent
softaware/autorest:1.1.0 created successfully

# create and publish
> .\create-image.ps1 1.1.0 -silent -publish
softaware/autorest:1.1.0 created successfully
softaware/autorest:1.1.0 published successfully

Tag summary

Content type

Image

Digest

Size

365.8 MB

Last updated

over 7 years ago

docker pull softaware/autorest:2.0.4283