From d54a8bc270bf5175cd2def00f9028dc0d3104475 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Sat, 16 Mar 2024 05:55:18 +0100 Subject: [PATCH] build: adding chmod to file copy in app stage (#3740) --- CHANGELOG.md | 5 ++++- Dockerfile | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f1c8a29..dbbc5dbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ - ci: bump dorny/paths-filter from 3.0.0 to 3.0.1 (#3712) - feat: Grafana 10.4.0 & Angular Deprecation (#3726 - @swiffer and @JakobLichterfeld) - build: pin elixir image full version to elixir:1.16.1-otp-26 (#3733 - @brianmay and @JakobLichterfeld) +- build: adding chmod to file copy in app stage (#3740 - @tobiasehlert) - ci: bump actions/delete-package-versions from 4 to 5 (#3713) - test: Make tests non-async (#3738 - @brianmay) @@ -680,6 +681,7 @@ Users who are already signed in in do not have to worry about it. TeslaMate will > **To immediately obtain new tokens after upgrading**, go to the TeslaMate settings page, **sign out via the button** at the bottom of the page and then sign in again. Additional: + > **⚠️ NOTE**: This release changes TeslaMate's base Docker image to Debian. If you have any customizations on top of TeslaMate (like healthchecks), they could need updates to work on top of this new image. ### Enhancements @@ -889,6 +891,7 @@ Additional: - Overview: Update battery gauge thresholds ([#651](https://github.com/adriankumpf/teslamate/pull/651) by [wooter](https://github.com/wooter)) - Drives: Add column header for reduced range ([#662](https://github.com/adriankumpf/teslamate/pull/662) by [Dulanic](https://github.com/Dulanic)) - Charging Stats: Show map with frequently used chargers ([#666](https://github.com/adriankumpf/teslamate/pull/666) by [Dulanic](https://github.com/Dulanic)) + - _Manual install: requires Grafana plugin **grafana-map-panel**_ ```bash @@ -1638,7 +1641,7 @@ superuser rights (temporarily): ## 1.4 -### 1. New custom grafana image: `teslamate/grafana`** +### 1. New custom grafana image: `teslamate/grafana` Starting with this release there is a customized Grafana docker image (`teslamate/grafana`) that auto provisions the datasource and dashboards which diff --git a/Dockerfile b/Dockerfile index d6b39d72..2947e24c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,8 +70,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ chown -R nonroot:nonroot . USER nonroot:nonroot -COPY --chown=nonroot:nonroot entrypoint.sh / -COPY --from=builder --chown=nonroot:nonroot /opt/built . +COPY --chown=nonroot:nonroot --chmod=544 entrypoint.sh / +COPY --from=builder --chown=nonroot:nonroot --chmod=544 /opt/built . RUN mkdir $SRTM_CACHE EXPOSE 4000