Skip to content

Commit

Permalink
🔥♻️ Use recommended image + use standard script
Browse files Browse the repository at this point in the history
- The alpine build-kit is now deprecated, use the recommended
  one
EVerest#78 (comment)

```
---------------------------------------------
WARNING
This docker image is depreacted.
Please use the debian based build-kit 'ghcr.io/everest/everest-ci/build-kit-base' instead.
Fore more information see EVerest/everest-ci#22
---------------------------------------------
```

- Now that there is a standard install script, instead of
  only test-and-install, so that we can roll forward

EVerest#78 (comment)

Testing done:
- Built successfully using a container
- Ran the `everest-demo/docker-compose.yml` and
  `everest-demo/docker-compose.iso15118-dc.yml` scripts. Both
  worked.
- Testing `everest-demo/docker-compose.ocpp201.yml` fails because go is running into SSL issues on my work laptop. Need to figure out how to resolve that
EVerest#78 (comment)

Signed-off-by: Shankari <[email protected]>
  • Loading branch information
shankari committed Nov 14, 2024
1 parent bdc5712 commit fa2fc02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
8 changes: 3 additions & 5 deletions manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
FROM ghcr.io/everest/build-kit-alpine:v1.4.2
FROM ghcr.io/everest/everest-ci/build-kit-base:v1.4.2

ARG EVEREST_VERSION=2024.9.0
ENV EVEREST_VERSION=${EVEREST_VERSION}

COPY install.sh ./

# Cloning the repo now and copying files over
RUN git clone https://github.com/EVerest/everest-core.git \
&& cd everest-core \
&& git checkout ${EVEREST_VERSION} \
&& cd .. \
&& mkdir -p /ext/scripts \
&& mv install.sh /ext/scripts/install.sh \
&& cp -r everest-core/.ci/build-kit/scripts/* /ext/scripts/ \
&& mv everest-core /ext/source \
# Don't run the test-and-install script since it deletes the build directory!
&& /entrypoint.sh run-script compile \
&& /entrypoint.sh run-script install

# Copy over the custom config *after* compilation and installation
Expand Down
8 changes: 0 additions & 8 deletions manager/install.sh

This file was deleted.

0 comments on commit fa2fc02

Please sign in to comment.