Transitioned from obsolete gateway object classes (`edge_gateway_shell_action_jobs_o`, `edge_gateway_shell_events_o`, `edge_gateway_shell_sessions_o`, `edge_gateway_update_jobs_o`) to the new agent implementation (`edge-gateway-agent/agent.php`).
17 lines
428 B
Docker
17 lines
428 B
Docker
FROM php:8.2-cli
|
|
|
|
WORKDIR /opt/truckwash-edge-agent
|
|
|
|
RUN set -eux; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends \
|
|
libcurl4-openssl-dev \
|
|
ca-certificates; \
|
|
docker-php-ext-install curl; \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY services/nginx/app/resources/edge-gateway-agent/ ./
|
|
|
|
ENTRYPOINT ["php", "/opt/truckwash-edge-agent/agent.php"]
|
|
CMD ["--config", "/config/test-gateway.json"]
|