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 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