Skip to content

Instantly share code, notes, and snippets.

@malagant
Created October 19, 2014 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malagant/2f7fc2978407cacc0519 to your computer and use it in GitHub Desktop.
Save malagant/2f7fc2978407cacc0519 to your computer and use it in GitHub Desktop.
Docker 1.3.0 and Fig 1.0.0
[root@www detox_staging]# fig build
Building serf...
---> 9cbaf023786c
Step 1 : MAINTAINER Michael Johann <mjohann@rails-experts.com>
---> Using cache
---> 323c602974b9
Step 2 : RUN apt-get update -q
---> Using cache
---> 40136f00ddc5
Step 3 : RUN apt-get install -qy build-essential git supervisor unzip
---> Using cache
---> abb368367355
Step 4 : ADD https://dl.bintray.com/mitchellh/serf/0.6.3_linux_amd64.zip serf.zip
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/code/build/fig/out00-PYZ.pyz/fig.cli.main", line 31, in main
File "/code/build/fig/out00-PYZ.pyz/fig.cli.docopt_command", line 21, in sys_dispatch
File "/code/build/fig/out00-PYZ.pyz/fig.cli.command", line 28, in dispatch
File "/code/build/fig/out00-PYZ.pyz/fig.cli.docopt_command", line 24, in dispatch
File "/code/build/fig/out00-PYZ.pyz/fig.cli.command", line 51, in perform_command
File "/code/build/fig/out00-PYZ.pyz/fig.cli.main", line 119, in build
File "/code/build/fig/out00-PYZ.pyz/fig.project", line 166, in build
File "/code/build/fig/out00-PYZ.pyz/fig.service", line 394, in build
File "/code/build/fig/out00-PYZ.pyz/fig.progress_stream", line 22, in stream_output
KeyError: 'id'
FROM ubuntu
MAINTAINER Michael Johann <mjohann@rails-experts.com>
# Let's get serf
RUN apt-get update -q
RUN apt-get install -qy build-essential git supervisor unzip
ADD https://dl.bintray.com/mitchellh/serf/0.6.3_linux_amd64.zip serf.zip
RUN unzip serf.zip
RUN rm serf.zip
RUN mv serf /usr/bin/
ADD /start-serf.sh /start-serf.sh
ADD /run.sh /run.sh
ADD /supervisord-serf.conf /etc/supervisor/conf.d/supervisord-serf.conf
RUN chmod 755 /*.sh
EXPOSE 7946 7373
CMD ["/run.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment