Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3755539
D2255.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2255.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2255: Provide psysh wrapper to Docker development server
Attached
Detach File
Event Timeline
Log In to Comment