1
0
mirror of https://github.com/tommytran732/Matrix.to-Docker synced 2024-11-22 10:01:34 -05:00

Ignore yarn.lock

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-12 02:37:55 -07:00
parent 2c88225667
commit 621dbf7d82
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
2 changed files with 3 additions and 0 deletions

View File

@ -43,7 +43,9 @@ WORKDIR /home/matrix-to/matrix.to
RUN git apply /home/matrix-to/matrix.to/element.patch \ RUN git apply /home/matrix-to/matrix.to/element.patch \
&& rm -rf .git \ && rm -rf .git \
&& rm -rf yarn.lock \
&& yarn \ && yarn \
&& yarn cache clean \
&& yarn build && yarn build
COPY --from=hmalloc-builder /tmp/hardened_malloc/out/libhardened_malloc.so /usr/local/lib/ COPY --from=hmalloc-builder /tmp/hardened_malloc/out/libhardened_malloc.so /usr/local/lib/

View File

@ -11,4 +11,5 @@ This is my own Docker image building from [the official repository](https://gith
- Don't trust random images: build yourself if you can. - Don't trust random images: build yourself if you can.
- Default Element instance is changed from [Element.io](https://app.element.io) to [ArcticFoxes.net](https://element.arcticfoxes.net) - Default Element instance is changed from [Element.io](https://app.element.io) to [ArcticFoxes.net](https://element.arcticfoxes.net)
- The Dockerfile builds from the main branch, as releases do not come out frequently. - The Dockerfile builds from the main branch, as releases do not come out frequently.
- `yarn.lock` is ignored, as upstream does not bump dependencies properly.
- The image comes with the [hardened memory allocator](https://github.com/GrapheneOS/hardened_malloc) built from the latest tag. - The image comes with the [hardened memory allocator](https://github.com/GrapheneOS/hardened_malloc) built from the latest tag.