Page MenuHomeDevCentral

D2255.diff
No OneTemporary

D2255.diff

diff --git a/roles/paas-docker/devel/files/psysh.sh b/roles/paas-docker/devel/files/psysh.sh
new file mode 100755
--- /dev/null
+++ b/roles/paas-docker/devel/files/psysh.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# -------------------------------------------------------------
+# PsySH container wrapper
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Author: Sébastien Santoro aka Dereckson
+# Project: Nasqueron
+# Created: 2020-02-24
+# Description: Wrapper to run PsySH as a Docker container
+# License: Trivial work, not eligible to copyright
+# Image: nasqueron/php-cli
+# -------------------------------------------------------------
+
+docker run -it --rm nasqueron/php-cli psysh
diff --git a/roles/paas-docker/devel/software.sls b/roles/paas-docker/devel/software.sls
--- a/roles/paas-docker/devel/software.sls
+++ b/roles/paas-docker/devel/software.sls
@@ -35,3 +35,8 @@
file.managed:
- source: salt://roles/paas-docker/devel/files/arc.sh
- mode: 755
+
+{{ dirs.bin }}/psysh:
+ file.managed:
+ - source: salt://roles/paas-docker/devel/files/psysh.sh
+ - mode: 755

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 16:20 (21 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252707
Default Alt Text
D2255.diff (1 KB)

Event Timeline