hackerrun 0.1.2 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -0
- package/package.json +1 -1
- package/src/lib/cluster.ts +6 -0
package/dist/index.js
CHANGED
|
@@ -800,6 +800,12 @@ var ClusterManager = class {
|
|
|
800
800
|
const setupScript = `#!/bin/bash
|
|
801
801
|
set -e
|
|
802
802
|
|
|
803
|
+
# Install jq if not present (needed to merge Docker config)
|
|
804
|
+
if ! command -v jq &> /dev/null; then
|
|
805
|
+
apt-get update -qq
|
|
806
|
+
apt-get install -y -qq jq
|
|
807
|
+
fi
|
|
808
|
+
|
|
803
809
|
# Step 1: Add IPv6 support to Docker daemon config
|
|
804
810
|
DAEMON_JSON='/etc/docker/daemon.json'
|
|
805
811
|
if [ -f "$DAEMON_JSON" ]; then
|
package/package.json
CHANGED
package/src/lib/cluster.ts
CHANGED
|
@@ -366,6 +366,12 @@ export class ClusterManager {
|
|
|
366
366
|
const setupScript = `#!/bin/bash
|
|
367
367
|
set -e
|
|
368
368
|
|
|
369
|
+
# Install jq if not present (needed to merge Docker config)
|
|
370
|
+
if ! command -v jq &> /dev/null; then
|
|
371
|
+
apt-get update -qq
|
|
372
|
+
apt-get install -y -qq jq
|
|
373
|
+
fi
|
|
374
|
+
|
|
369
375
|
# Step 1: Add IPv6 support to Docker daemon config
|
|
370
376
|
DAEMON_JSON='/etc/docker/daemon.json'
|
|
371
377
|
if [ -f "$DAEMON_JSON" ]; then
|