Skip to content

Modular logistics and supply chain operating system (LSOS)

now uses installer, dropped entrypoint scripts

Ronald A. Richardsonfb4e51d1ba97
diff --git a/api/composer.json b/api/composer.json
index 46e0b359..bc54fcca 100644
--- a/api/composer.json
+++ b/api/composer.json
@@ -6,7 +6,7 @@
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
- "fleetbase/core-api": "^1.0.1-alpha",
+ "fleetbase/core-api": "^1.0.2-alpha",
"fleetbase/fleetops-api": "^1.0.1-alpha",
"fleetbase/storefront-api": "^1.0.1-alpha",
"fruitcake/laravel-cors": "^2.0",
diff --git a/api/composer.lock b/api/composer.lock
index 56fff507..f49d63bd 100644
--- a/api/composer.lock
+++ b/api/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "27fac5aa8b562d942feffbf16cdc8923",
+ "content-hash": "fc2f7eb52a3de2ba9cc3cc470b59a10f",
"packages": [
{
"name": "aloha/twilio",
@@ -2002,11 +2002,17 @@
},
{
"name": "fleetbase/core-api",
- "version": "1.0.1-alpha",
+ "version": "1.0.2-alpha",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/fleetbase/core-api.git",
+ "reference": "1a9ba870f4a1fc5bd8f471b654ad9498f2d17d43"
+ },
"dist": {
- "type": "path",
- "url": "../packages/core-api",
- "reference": "7818e5210daeeb44cab14c4fb58cdc2138316c2f"
+ "type": "zip",
+ "url": "https://api.github.com/repos/fleetbase/core-api/zipball/1a9ba870f4a1fc5bd8f471b654ad9498f2d17d43",
+ "reference": "1a9ba870f4a1fc5bd8f471b654ad9498f2d17d43",
+ "shasum": ""
},
"require": {
"aloha/twilio": "^5.0",
@@ -2058,30 +2064,7 @@
"Fleetbase\\Seeds\\": "seeds/"
}
},
- "autoload-dev": {
- "psr-4": {
- "Fleetbase\\Tests\\": "tests/"
- }
- },
- "scripts": {
- "lint": [
- "php-cs-fixer fix -v"
- ],
- "test:lint": [
- "php-cs-fixer fix -v --dry-run"
- ],
- "test:types": [
- "phpstan analyse --ansi --memory-limit=0"
- ],
- "test:unit": [
- "pest --colors=always"
- ],
- "test": [
- "@test:lint",
- "@test:types",
- "@test:unit"
- ]
- },
+ "notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
@@ -2100,17 +2083,31 @@
"fleetbase",
"logistics platform"
],
- "transport-options": {
- "relative": true
- }
+ "support": {
+ "issues": "https://github.com/fleetbase/core-api/issues",
+ "source": "https://github.com/fleetbase/core-api/tree/v1.0.2-alpha"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/fleetbase",
+ "type": "github"
+ }
+ ],
+ "time": "2023-05-30T08:31:50+00:00"
},
{
"name": "fleetbase/fleetops-api",
"version": "1.0.1-alpha",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/fleetbase/fleetops-api.git",
+ "reference": "3bcce25a9cf2c9bc991aac26e873ac6eeacaac68"
+ },
"dist": {
- "type": "path",
- "url": "../packages/fleetops-api",
- "reference": "c67d0c303cf1eb2ce163686b62bebcbb6a878f79"
+ "type": "zip",
+ "url": "https://api.github.com/repos/fleetbase/fleetops-api/zipball/3bcce25a9cf2c9bc991aac26e873ac6eeacaac68",
+ "reference": "3bcce25a9cf2c9bc991aac26e873ac6eeacaac68",
+ "shasum": ""
},
"require": {
"barryvdh/laravel-dompdf": "^2.0",
@@ -2147,30 +2144,7 @@
"Fleetbase\\FleetOps\\": "src/"
}
},
- "autoload-dev": {
- "psr-4": {
- "Fleetbase\\Tests\\": "tests/"
- }
- },
- "scripts": {
- "lint": [
- "php-cs-fixer fix -v"
- ],
- "test:lint": [
- "php-cs-fixer fix -v --dry-run"
- ],
- "test:types": [
- "phpstan analyse --ansi --memory-limit=0"
- ],
- "test:unit": [
- "pest --colors=always"
- ],
- "test": [
- "@test:lint",
- "@test:types",
- "@test:unit"
- ]
- },
+ "notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
@@ -2191,17 +2165,31 @@
"last-mile",
"tms"
],
- "transport-options": {
- "relative": true
- }
+ "support": {
+ "issues": "https://github.com/fleetbase/fleetops-api/issues",
+ "source": "https://github.com/fleetbase/fleetops-api/tree/v1.0.1-alpha"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/fleetbase",
+ "type": "github"
+ }
+ ],
+ "time": "2023-05-26T04:34:49+00:00"
},
{
"name": "fleetbase/storefront-api",
"version": "1.0.1-alpha",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/fleetbase/storefront-api.git",
+ "reference": "0d0dee2b8a173757e0f4e5c4e12c98d6d6dda37e"
+ },
"dist": {
- "type": "path",
- "url": "../packages/storefront-api",
- "reference": "53309bccf163314a8aced42c78f766118754fbb8"
+ "type": "zip",
+ "url": "https://api.github.com/repos/fleetbase/storefront-api/zipball/0d0dee2b8a173757e0f4e5c4e12c98d6d6dda37e",
+ "reference": "0d0dee2b8a173757e0f4e5c4e12c98d6d6dda37e",
+ "shasum": ""
},
"require": {
"fleetbase/core-api": "^1.0.0-alpha",
@@ -2240,30 +2228,7 @@
"Fleetbase\\Storefront\\": "src/"
}
},
- "autoload-dev": {
- "psr-4": {
- "Fleetbase\\Storefront\\Tests\\": "tests/"
- }
- },
- "scripts": {
- "lint": [
- "php-cs-fixer fix -v"
- ],
- "test:lint": [
- "php-cs-fixer fix -v --dry-run"
- ],
- "test:types": [
- "phpstan analyse --ansi --memory-limit=0"
- ],
- "test:unit": [
- "pest --colors=always"
- ],
- "test": [
- "@test:lint",
- "@test:types",
- "@test:unit"
- ]
- },
+ "notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
@@ -2284,9 +2249,17 @@
"marketplace",
"storefront"
],
- "transport-options": {
- "relative": true
- }
+ "support": {
+ "issues": "https://github.com/fleetbase/storefront-api/issues",
+ "source": "https://github.com/fleetbase/storefront-api/tree/v1.0.1-alpha"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/fleetbase",
+ "type": "github"
+ }
+ ],
+ "time": "2023-05-26T04:39:13+00:00"
},
{
"name": "fruitcake/laravel-cors",
@@ -13608,16 +13581,16 @@
},
{
"name": "doctrine/deprecations",
- "version": "v1.0.0",
+ "version": "v1.1.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
- "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de"
+ "reference": "8cffffb2218e01f3b370bf763e00e81697725259"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
- "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
+ "url": "https://api.github.com/repos/doctrine/deprecations/zipball/8cffffb2218e01f3b370bf763e00e81697725259",
+ "reference": "8cffffb2218e01f3b370bf763e00e81697725259",
"shasum": ""
},
"require": {
@@ -13645,9 +13618,9 @@
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
- "source": "https://github.com/doctrine/deprecations/tree/v1.0.0"
+ "source": "https://github.com/doctrine/deprecations/tree/v1.1.0"
},
- "time": "2022-05-02T15:47:09+00:00"
+ "time": "2023-05-29T18:55:17+00:00"
},
{
"name": "doctrine/event-manager",
diff --git a/console b/console
index 1b74a490..bf512c39 160000
--- a/console
+++ b/console
@@ -1 +1 @@
-Subproject commit 1b74a490d36bf2b0d9b7900f33c20f06e78a94d4
+Subproject commit bf512c392f6ebf060b1823d9def6e70817bc70ab
diff --git a/docker/Dockerfile b/docker/Dockerfile
index ae910bc5..8252990d 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -52,14 +52,6 @@ COPY --chown=www-data:nogroup . ./
USER root
-# Copy entrypoint.sh
-COPY docker/entrypoint.sh /entrypoint.sh
-RUN chmod +x /entrypoint.sh
-
-# Copy entrypoint-app.sh
-COPY docker/entrypoint-app.sh /entrypoint-app.sh
-RUN chmod +x /entrypoint-app.sh
-
# Set environment
ARG ENVIRONMENT=production
ENV APP_ENV=$ENVIRONMENT
@@ -84,7 +76,7 @@ CMD ["go-crond", "--verbose", "--no-auto", "root:./crontab"]
# Application dev stage
FROM base as app-dev
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["docker-php-entrypoint"]
CMD ["php-fpm"]
# Events stage
@@ -99,5 +91,5 @@ CMD ["php", "artisan", "queue:work", "sqs"]
# Application stage
FROM base as app
-ENTRYPOINT ["/entrypoint-app.sh"]
+ENTRYPOINT ["/sbin/ssm-parent", "-c", ".ssm-parent.yaml", "run", "--", "docker-php-entrypoint"]
CMD ["php-fpm"]
\ No newline at end of file
diff --git a/docker/entrypoint-app.sh b/docker/entrypoint-app.sh
deleted file mode 100644
index f9d0e6e3..00000000
--- a/docker/entrypoint-app.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-set -e
-
-# Call the original entrypoint
-exec /sbin/ssm-parent -c .ssm-parent.yaml run -- docker-php-entrypoint "$@"
\ No newline at end of file
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
deleted file mode 100644
index eff7a1bb..00000000
--- a/docker/entrypoint.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-set -e
-
-# Call the original entrypoint
-exec docker-php-entrypoint "$@"