Commit Graph

42 Commits

Author SHA1 Message Date
Stefan Becker
48a24e323b Allow string for command
Fixes a regression compared to docker-compose. F.ex.

    command: --smallfiles

got translated to

    - - s m a l l f i l e s

on the command line. If option value is a string create a list with a
single entry before adding it to the command line.
2019-07-08 09:12:25 +03:00
Alexander Braverman
29e2bf4c13 Support security opt
* Fix RuntimeError: Set changed size during iteration
2019-06-27 11:41:27 +03:00
Muayyad Alsadi
e753eb306c fix depends_on 2019-06-17 18:31:22 +03:00
Muayyad Alsadi
9f618c6ae6 make volumes work 2019-06-11 17:03:24 +03:00
Muayyad Alsadi
6c097fdb6c return mount_dict as is 2019-06-11 15:15:02 +03:00
Muayyad Alsadi
9294bea425 empty options 2019-06-11 15:07:49 +03:00
Muayyad Alsadi
a29cf06436 fix broken _dirname 2019-06-11 12:41:58 +03:00
Muayyad Alsadi
f7ba7ce89f FIXES #17: implement push 2019-06-09 04:22:58 +03:00
Muayyad Alsadi
642e049d1d FIXES #17: implement push 2019-06-09 04:21:55 +03:00
Muayyad Alsadi
a4b4f20103 FIXES #18: pass pull and pull-always to podman build 2019-06-09 04:00:04 +03:00
Muayyad Alsadi
fc61e0168b add support for volumes 2019-06-09 03:46:31 +03:00
Muayyad Alsadi
5606c69f9d add support for volumes 2019-06-09 03:26:13 +03:00
alsadi
882cef73b7 FIXES #15: respect container_name 2019-05-14 15:15:19 +03:00
alsadi
5f7e46dbbe move helpers up 2019-05-09 23:16:40 +03:00
alsadi
079cc0fd9b more readable type checking 2019-05-09 23:15:05 +03:00
Anthony King
34469eaed8
Fix running under python 3
This is by no means extensive. It just fixes the errors I got when running `build` and `up`.

- Check for `__iter__` after checking for `isinstance(..., str)`
  `__iter__` is present on `str` in python 3
- coerce `dict.values()` to a list before sorting it
  python 3 introduces `dict_values`, which is closer to being an iterable, and so does not have `.sort`
2019-05-05 12:33:07 +01:00
alsadi
337f3e9e2b FIXES #9: look for dockerfile for build 2019-05-01 16:24:20 +03:00
alsadi
3e3fe9cba6 FIXES #10: support "build: ./path/context" 2019-05-01 16:20:40 +03:00
alsadi
655d5d9b51 FIXES #6: implement podman-compose build 2019-04-19 18:24:30 +03:00
alsadi
14618ce16b FIXES #7: Resolve relative volume paths 2019-04-19 14:44:47 +03:00
alsadi
4fc8f5d702 handle none and integers 2019-03-24 01:39:22 +02:00
alsadi
021f0565e8 Fixes #5: implement .env 2019-03-24 01:08:26 +02:00
alsadi
06485b671e Fixes #3: look for .yaml file 2019-03-23 22:16:30 +02:00
alsadi
732214db07 more formatting 2019-03-23 22:07:06 +02:00
alsadi
e6e99773ce more formatting 2019-03-23 22:04:07 +02:00
alsadi
4733c7ef94 apply formating and add pylintrc 2019-03-23 21:42:04 +02:00
tobwen
bbc62e34b0 new switches: --dry-run, --no-cleanup, --podman-path
Small refactoring and three new switches: `--dry-run` for debugging (doesn't execute podman), `--no-cleanup` doesn't stop & remove containers on a fresh run, `--podman-path` allows the user to point to podman binary if not in $PATH
2019-03-20 23:49:17 +01:00
alsadi
f6f711a82a working 1podfw 2019-03-11 11:51:28 +02:00
alsadi
20474eb3fc sort by deps 2019-03-09 23:25:32 +02:00
alsadi
af474761d4 update readme and remove sleep 2019-03-05 22:43:32 +02:00
alsadi
3759b2ca28 del hostname 2019-03-05 00:53:16 +02:00
alsadi
b62b817c66 fix typo in ports 2019-03-05 00:48:48 +02:00
alsadi
ed09b46f83 use set to add them once 2019-03-05 00:46:42 +02:00
alsadi
1ad8c19e85 move add-host 2019-03-05 00:39:21 +02:00
alsadi
823fe8a133 implement down 2019-03-05 00:22:27 +02:00
alsadi
2b73df5692 implement down 2019-03-05 00:12:57 +02:00
alsadi
46dd9b0e02 make -t work and implement many tranforms 2019-03-05 00:11:33 +02:00
alsadi
b99e7333f4 make -t work and implement many tranforms 2019-03-05 00:04:53 +02:00
alsadi
49ae85776c make -t work and implement many tranforms 2019-03-05 00:03:28 +02:00
alsadi
264b048df9 make -t work and implement many tranforms 2019-03-05 00:02:24 +02:00
alsadi
f7530624e1 make -t work and implement many tranforms 2019-03-04 23:58:25 +02:00
alsadi
5656149ff1 initial work 2019-03-04 11:30:14 +02:00