Add patch for cargo mem leak on aarch64

Rene Teigen 1 year ago
parent 680416e88e
commit 3e19941605

@ -27,12 +27,6 @@ jobs:
id-token: write
steps:
#Add swap for building arm64 image
- name: Set Swap Space
uses: pierotofy/set-swap-space@v1.0
with:
swap-size-gb: 10
- name: Checkout repository
uses: actions/checkout@v3
@ -122,11 +116,6 @@ jobs:
id-token: write
steps:
- name: Set Swap Space
uses: pierotofy/set-swap-space@v1.0
with:
swap-size-gb: 10
- name: Checkout repository
uses: actions/checkout@v3
@ -218,11 +207,6 @@ jobs:
# with sigstore/fulcio when running outside of PRs.
id-token: write
steps:
- name: Set Swap Space
uses: pierotofy/set-swap-space@v1.0
with:
swap-size-gb: 10
- name: Checkout repository
uses: actions/checkout@v3

4
.gitignore vendored

@ -9,4 +9,6 @@ __pycache__
bot.pid
usage.txt
/dalleimages
/indexes
/indexes
/audiotemp
/pickles

@ -16,7 +16,9 @@ RUN apt-get install -y \
gcc \
curl
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
ARG PATH="/root/.cargo/bin:${PATH}"
# https://github.com/rust-lang/cargo/issues/10583
ARG CARGO_NET_GIT_FETCH_WITH_CLI=true
RUN mkdir /install /src
WORKDIR /install

Loading…
Cancel
Save