grim/containers/package_cloud

d902e263fdf8
Parents 7abe899e78c0
Children dbe671c6a43e
Some dumb fixes to make this work better with convey
  • +3 -1
    Dockerfile
  • +1 -0
    convey.yml
  • +6 -0
    entrypoint.sh
  • --- a/Dockerfile Tue Oct 10 22:53:01 2017 -0500
    +++ b/Dockerfile Wed Oct 11 01:16:14 2017 -0500
    @@ -3,5 +3,7 @@
    RUN apk add --no-cache ruby ruby-rdoc ruby-irb ruby-io-console && \
    gem install package_cloud
    -ENTRYPOINT ["/usr/bin/package_cloud"]
    +COPY entrypoint.sh /usr/local/bin/
    +ENTRYPOINT ["entrypoint.sh"]
    +
    --- a/convey.yml Tue Oct 10 22:53:01 2017 -0500
    +++ b/convey.yml Wed Oct 11 01:16:14 2017 -0500
    @@ -6,6 +6,7 @@
    type: build
    dockerfile: Dockerfile
    tags: rwgrim/package-cloud
    + files: entrypoint.sh
    plans:
    default:
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/entrypoint.sh Wed Oct 11 01:16:14 2017 -0500
    @@ -0,0 +1,6 @@
    +#!/bin/sh
    +
    +set -ex
    +
    +package_cloud $@
    +