Skip to content

Commit

Permalink
v2: remove -v2 suffix in binary name inside docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jun 26, 2024
1 parent baf113f commit 4352712
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.v2.ci
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV UID=1337 \
RUN apk add --no-cache ffmpeg su-exec ca-certificates bash jq curl yq-go

ARG EXECUTABLE=./mautrix-signal-v2
COPY $EXECUTABLE /usr/bin/mautrix-signal-v2
COPY $EXECUTABLE /usr/bin/mautrix-signal
COPY ./docker-run.sh /docker-run.sh
ENV BRIDGEV2=1
VOLUME /data
Expand Down
3 changes: 0 additions & 3 deletions docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ if [[ -z "$GID" ]]; then
fi

BINARY_NAME=/usr/bin/mautrix-signal
if [[ "$BRIDGEV2" == "1" ]]; then
BINARY_NAME=/usr/bin/mautrix-signal-v2
fi

# Define functions.
function fixperms {
Expand Down

0 comments on commit 4352712

Please sign in to comment.