Compare commits
3 commits
376fe7e5af
...
e4051fe4e4
Author | SHA1 | Date | |
---|---|---|---|
e4051fe4e4 | |||
cb2db03e4a | |||
75b9b15f47 |
3 changed files with 5 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -1,6 +1,5 @@
|
|||
DESTDIR ?= /usr
|
||||
BINDIR ?= $(DESTDIR)/bin
|
||||
VARDIR ?= /var/lib/containerctl
|
||||
BINDIR ?= $(DESTDIR)/usr/bin
|
||||
VARDIR ?= $(DESTDIR)/var/lib/containerctl
|
||||
GENERATEDIR ?= $(VARDIR)/generate
|
||||
CONFIGDIR ?= $(VARDIR)/configs
|
||||
CONTAINERDIR ?= $(VARDIR)/containers
|
||||
|
|
|
@ -380,6 +380,8 @@ class Environment:
|
|||
|
||||
def command(self) -> str:
|
||||
"""Option for podman container create."""
|
||||
if len(self.variables) == 0:
|
||||
return ""
|
||||
return f"--env-file={self.file}"
|
||||
|
||||
def create(self) -> str:
|
||||
|
|
|
@ -14,7 +14,7 @@ from pathlib import Path
|
|||
from container import ConfigError, Container
|
||||
from log import Log
|
||||
|
||||
GENERATE_VERSION = "0.0.7"
|
||||
GENERATE_VERSION = "0.0.8"
|
||||
HEADER = f"""#!/bin/sh
|
||||
# This script was generated by containerctl v{GENERATE_VERSION}
|
||||
# Report bugs with _this script_ to <tenno+containerctl@suij.in>
|
||||
|
|
Loading…
Add table
Reference in a new issue