chore(docker): install Docker compose plugin

Switch from Docker Compsoe script to Compose CLI plugin.

close #81
This commit is contained in:
Nicolas Carlier 2023-04-01 06:28:44 +00:00
parent 1a25f73d04
commit e219a0f376

View File

@ -81,12 +81,7 @@ RUN adduser \
"$USER" "$USER"
# Install deps # Install deps
RUN apk add --no-cache bash gcompat git openssl openssh-client curl jq RUN apk add --no-cache bash gcompat git openssl openssh-client curl jq docker-cli-compose
# Install docker-compose
RUN curl -L --fail https://raw.githubusercontent.com/linuxserver/docker-docker-compose/master/run.sh \
-o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose
# Install binary and entrypoint # Install binary and entrypoint
COPY --from=builder /go/src/$REPOSITORY/$ARTIFACT/release/$ARTIFACT /usr/local/bin/$ARTIFACT COPY --from=builder /go/src/$REPOSITORY/$ARTIFACT/release/$ARTIFACT /usr/local/bin/$ARTIFACT
@ -101,4 +96,4 @@ EXPOSE 8080
USER $USER USER $USER
CMD [ "webhookd" ] CMD [ "webhookd" ]