Skip to content

Commit

Permalink
revert ubuntu change for gRPC and add libssl-dev install to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wulfraem committed Nov 27, 2024
1 parent 9188741 commit 3488e76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ on:

jobs:
check-for-run-condition:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
outputs:
should-run: ${{ !github.event.pull_request || github.event.pull_request.draft == false }}
steps:
- run: |
# this run step does nothing, but is needed to get the job output
build-and-test:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/grpc-publish-to-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
push_to_registry:
environment: release
name: Push Docker image to Docker Hub
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down
6 changes: 5 additions & 1 deletion bindings/grpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FROM rust:bookworm as builder

# update packages
RUN apt-get update
# install protobuf
RUN apt-get update && apt-get install -y protobuf-compiler libprotobuf-dev musl-tools
RUN apt-get install -y protobuf-compiler libprotobuf-dev musl-tools
# install openssl dev dependencies
RUN apt-get install -y libssl-dev

COPY . /usr/src/app/
WORKDIR /usr/src/app/bindings/grpc
Expand Down

0 comments on commit 3488e76

Please sign in to comment.