Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768503
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/paas-docker/devel/files/psysh.sh b/roles/paas-docker/devel/files/psysh.sh
new file mode 100755
index 0000000..f037245
--- /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
index cfb2851..661c278 100644
--- a/roles/paas-docker/devel/software.sls
+++ b/roles/paas-docker/devel/software.sls
@@ -1,37 +1,42 @@
# -------------------------------------------------------------
# Salt — Docker development tools
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2020-02-15
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs, packages_prefixes with context %}
# -------------------------------------------------------------
# Dependencies not required in production but useful in dev
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
docker_development_utilities:
pkg.installed:
- pkgs:
- git
- jq
- {{ packages_prefixes.python3 }}pip
# From Nasqueron repo
- dive
pip.installed:
- name: docker-compose
- require:
- pkg: docker_development_utilities
# -------------------------------------------------------------
# Tools
#
# :: Arcanist
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ dirs.bin }}/arc:
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/x-diff
Expires
Mon, Nov 25, 08:22 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259834
Default Alt Text
(2 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment