mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-01 01:17:42 +01:00
Update Dockerfile to install sed before usage
Install sed before using it to modify the init-test-run script.
This commit is contained in:
@@ -83,7 +83,8 @@ RUN chmod 777 /ha_entrypoint.sh
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh"
|
||||
RUN chmod 0755 /usr/local/lib/bashio-standalone.sh
|
||||
|
||||
RUN \ sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends sed \
|
||||
&& sed -i "s|postgresql-16|postgresql-15|g" /etc/s6-overlay/s6-rc.d/init-test-run/run
|
||||
|
||||
# Install dependencies
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
Reference in New Issue
Block a user