Skip to content

Commit

Permalink
chore(ci): fix high memory usage in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
helder-moreira committed Nov 8, 2023
1 parent a73a66b commit a8be23a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
docker:
runs-on: ubuntu-latest-l
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.hashicorp
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM rust:1.66-alpine AS builder

RUN apk add --no-cache g++ zlib zlib-dev
RUN apk add --no-cache g++ zlib zlib-dev git

WORKDIR /app
COPY . /app

ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN cargo build --release --features=hashicorp

FROM alpine
Expand Down

0 comments on commit a8be23a

Please sign in to comment.