From c36edd6bc2d84f8ecf425c2a3c2602248f3edddf Mon Sep 17 00:00:00 2001 From: Rich Romanowski <79664656+rromanowski-figure@users.noreply.github.com> Date: Fri, 9 Jan 2026 14:21:04 -0500 Subject: [PATCH 1/2] fix: add proto compiler to Dockerfile instead of github action --- .github/workflows/release.yml | 3 --- Cargo.toml | 2 +- Dockerfile | 5 +++++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e85c30b..a8b883a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,9 +40,6 @@ jobs: asset_name: protos-${{ env.VERSION }}.zip asset_content_type: application/octet-stream - - name: Install Protoc - uses: arduino/setup-protoc@v3 - - name: Log in to GitHub Container Registry uses: docker/login-action@v3 with: diff --git a/Cargo.toml b/Cargo.toml index 5ed1fd5..e716d5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "object-store" -version = "1.0.0-alpha.1" +version = "1.0.0-alpha.2" authors = ["Stephen Cirner "] edition = "2024" diff --git a/Dockerfile b/Dockerfile index 1943bbc..bd914ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ FROM rust:1.92-bookworm AS builder +# Install protobuf compiler +RUN apt-get update && \ + apt-get install -y protobuf-compiler && \ + rm -rf /var/lib/apt/lists/* + RUN rustup component add rustfmt WORKDIR /usr/src/object-store From 240298deda91d78798c3f8284aaee810b5605468 Mon Sep 17 00:00:00 2001 From: Rich Romanowski <79664656+rromanowski-figure@users.noreply.github.com> Date: Fri, 9 Jan 2026 14:37:17 -0500 Subject: [PATCH 2/2] add docker ignore file --- .dockerignore | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..8b452fe --- /dev/null +++ b/.dockerignore @@ -0,0 +1,29 @@ +# Build outputs +target/ +**/target/ + +# OS files +.DS_Store +**/.DS_Store +Thumbs.db + +# Git +.git/ +.gitignore + +# Documentation +docs/ +**/*.md +!README.md + +# CI/CD files +.github/ + +# Logs and temporary files +*.log +tmp/ +.cache/ + +# Docker files +Dockerfile* +.dockerignore