Skip to content

Commit

Permalink
🔥Remove custom configuration while building base manager image
Browse files Browse the repository at this point in the history
- `config-docker.json`: is no longer needed since we don't support 1.6j (EVerest#80)
- `config.json` is no longer needed, since it is removed and replaced by the `component_config` directory (EVerest/libocpp#740)
- `device_model_storage_maeve_sp1.db` is now created by the manager at startup based on the `component_config` directory

This should now work for the basic (non-ISO/non-OCPP use
cases)

Signed-off-by: Shankari <[email protected]>
  • Loading branch information
shankari committed Nov 13, 2024
1 parent 1dc02eb commit eca340c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=linux/x86_64 ghcr.io/everest/build-kit-alpine@sha256:7494bd6624aee3f882b4f1edbc589879e1d6d0ccc2c58f3f5c87ac1838ccd1de
FROM --platform=linux/x86_64 ghcr.io/everest/build-kit-alpine:1.4.2

ARG EVEREST_VERSION=2024.3.0
ARG EVEREST_VERSION=2024.9.0
ENV EVEREST_VERSION=${EVEREST_VERSION}

COPY install.sh ./
Expand All @@ -17,9 +17,6 @@ RUN git clone https://github.com/EVerest/everest-core.git \
&& /entrypoint.sh run-script install

# Copy over the custom config *after* compilation and installation
COPY config-docker.json ./dist/share/everest/modules/OCPP/config-docker.json
COPY config.json ./dist/share/everest/modules/OCPP201/config.json
COPY device_model_storage_maeve_sp1.db ./dist/share/everest/modules/OCPP201/device_model_storage.db

COPY run-test.sh /ext/source/tests/run-test.sh

Expand Down

0 comments on commit eca340c

Please sign in to comment.