community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1683049 - in /comdev/tools/events_list: Dockerfile
Date Tue, 02 Jun 2015 06:25:35 GMT
Author: rgardler
Date: Tue Jun  2 06:25:34 2015
New Revision: 1683049

run the menu by default in the docker container and simplify the instructions as we move towards
a persistent data volume


Modified: comdev/tools/events_list/Dockerfile
--- comdev/tools/events_list/Dockerfile (original)
+++ comdev/tools/events_list/Dockerfile Tue Jun  2 06:25:34 2015
@@ -3,4 +3,4 @@ FROM python:2.7
 COPY . /project
 WORKDIR /project
-CMD ["python", "./get_meetuplist"]
\ No newline at end of file
+CMD ["python", "./menu"]
\ No newline at end of file

Modified: comdev/tools/events_list/
--- comdev/tools/events_list/ (original)
+++ comdev/tools/events_list/ Tue Jun  2 06:25:34 2015
@@ -44,38 +44,14 @@ To build the container:
 To run the container:
-    $ docker run events
+    $ docker run -v /path/to/host/directory:/project events
 By default this runs a curses menu from which you can manage the events
-## Working with the results ##
-At the time of writing get_meetups script writes results to the file
-system. Since a container is immutable this means that you never
-actually get to see the results. There are two workarounds for this,
-depending on your preference. You can work in a shell in the container
-or you can mount your client directory in the container
-### Working in a shell ###
-    $ docker run -it events bash
-Will put you in a bash shell in the container, from there you can run:
-    $ python menu
-and view the files in the containers file system before exiting the
-### Mounting a host directory ###
-    $ docker run -v /path/to/host/directory:/project events
-This will run the script as normal but since you have mounted your host
-directory the files will be accessible from the host.
+FIXME: Should use a data volume for the data
-## Development using the Docker Container ##
+# Development using the Docker Container #
 Edit the files on your host machine and then:

View raw message