Skip to content

Commit

Permalink
fix(ci): install unzip for new musl builder
Browse files Browse the repository at this point in the history
  • Loading branch information
dufkan committed May 10, 2024
1 parent 1a426a5 commit a64e2f6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ WORKDIR /home/rust/src/
ADD --chown=rust:rust . .
# Install protobuf compiler
ENV PATH="${PATH}:/home/rust/.local/bin"
RUN sudo apt-get update && sudo apt-get install -y unzip
RUN curl -LO "https://github.com/protocolbuffers/protobuf/releases/download/v21.9/protoc-21.9-linux-x86_64.zip" && \
unzip ./protoc-21.9-linux-x86_64.zip -d $HOME/.local && \
rm -rf ./protoc-21.9-linux-x86_64.zip && \
Expand All @@ -35,14 +36,14 @@ ARG REVISION
ARG BUILD_VERSION

LABEL org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.source="https://github.com/crocs-muni/meesign-server" \
org.opencontainers.image.version=${BUILD_VERSION} \
org.opencontainers.image.revision=${REVISION} \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.title="meesign-server" \
org.opencontainers.image.description="Meesign server for threshold ECDSA signatures." \
org.opencontainers.image.vendor="CRoCS, FI MUNI" \
org.label-schema.docker.cmd="docker run --detach --publish 1337:1337 --volume `pwd`/keys/:/meesign/keys/ crocsmuni/meesign:latest"
org.opencontainers.image.source="https://github.com/crocs-muni/meesign-server" \
org.opencontainers.image.version=${BUILD_VERSION} \
org.opencontainers.image.revision=${REVISION} \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.title="meesign-server" \
org.opencontainers.image.description="Meesign server for threshold ECDSA signatures." \
org.opencontainers.image.vendor="CRoCS, FI MUNI" \
org.label-schema.docker.cmd="docker run --detach --publish 1337:1337 --volume `pwd`/keys/:/meesign/keys/ crocsmuni/meesign:latest"

EXPOSE ${SERVER_PORT}
# running the binary from a specific directory as meesign helper requires
Expand Down

0 comments on commit a64e2f6

Please sign in to comment.