Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The client here will eventually be released as "spython" (and eventually to
singularity on pypi), and the versions here will coincide with these releases.

## [master](https://github.com/singularityhub/singularity-cli/tree/master)
- add comment out of STOPSIGNAL (0.2.14)
- sudo `-E` flag should not be provided by default (0.2.13)
- WORKDIR should create container for Singularity converter (0.2.12)
- support for background process with client run (0.2.11)
Expand Down
10 changes: 10 additions & 0 deletions spython/main/parse/parsers/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,15 @@ def _expose(self, line):
self.recipe[self.active_layer].ports += ports
return self._comment("# %s" % line)

def _stopsignal(self, line):
"""Again, just add to metadata, and comment in install.

Parameters
==========
line: the line from the recipe file to parse STOPSIGNAL
"""
return self._comment("# %s" % line)

# Working Directory

def _workdir(self, line):
Expand Down Expand Up @@ -528,6 +537,7 @@ def _get_mapping(self, line, parser=None, previous=None):
"MAINTAINER": self._label,
"VOLUME": self._volume,
"LABEL": self._label,
"STOPSIGNAL": self._stopsignal,
}

# If it's a command line, return correct function
Expand Down
2 changes: 1 addition & 1 deletion spython/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.


__version__ = "0.2.13"
__version__ = "0.2.14"
AUTHOR = "Vanessa Sochat"
AUTHOR_EMAIL = "vsoch@users.noreply.github.com"
NAME = "spython"
Expand Down