mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-12-16 16:36:17 +00:00
fix sed command for armv7
This commit is contained in:
@@ -76,7 +76,7 @@ RUN apk add --no-cache \
|
|||||||
# Copy the requirements file into the build layer.
|
# Copy the requirements file into the build layer.
|
||||||
COPY ./src/requirements.txt /opt/wgdashboard/src
|
COPY ./src/requirements.txt /opt/wgdashboard/src
|
||||||
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
|
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
|
||||||
sed -i "s|psycopg\[binary\]==3.2.13|psycopg\[c\]==3.2.13|" /opt/wgdashboard/src/requirements.txt; \
|
sed -i 's|psycopg\[binary\]|psycopg[c]|' /opt/wgdashboard/src/requirements.txt; \
|
||||||
fi; \
|
fi; \
|
||||||
cat /opt/wgdashboard/src/requirements.txt
|
cat /opt/wgdashboard/src/requirements.txt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user