Skip to content

Commit

Permalink
Fix wrong order of parameters
Browse files Browse the repository at this point in the history
Signed-off-by: SHooZ <SHooZ@ex.ua>

Closes: #513
Approved by: rhatdan
  • Loading branch information
shooz authored and rh-atomic-bot committed Mar 12, 2018
1 parent 13c1331 commit 555919b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/lighttpd.sh
Expand Up @@ -10,8 +10,8 @@ buildah run $ctr1 -- dnf install -y lighttpd
buildah config --annotation "com.example.build.host=$(uname -n)" $ctr1

## Run our server and expose the port
buildah config $ctr1 --cmd "/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf"
buildah config $ctr1 --port 80
buildah config --cmd "/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf" $ctr1
buildah config --port 80 $ctr1

## Commit this container to an image name
buildah commit $ctr1 ${2:-$USER/lighttpd}

0 comments on commit 555919b

Please sign in to comment.