File tree 2 files changed +3
-41
lines changed
2 files changed +3
-41
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,8 @@ FROM ubuntu:focal
2
2
3
3
# Install the packages contained in `packages.txt`
4
4
COPY packages.txt /opt/crates-build-env/packages.txt
5
- RUN apt-get update && cat /opt/crates-build-env/packages.txt | DEBIAN_FRONTEND=noninteractive xargs apt-get install -y
6
-
7
- # Fix the "sudo: setrlimit(RLIMIT_CORE): Operation not permitted" error when
8
- # starting up the container with `MAP_USER_ID`. Upstream issue:
9
- #
10
- # https://github.com/sudo-project/sudo/issues/42
11
- #
12
- RUN echo "Set disable_coredump false" >> /etc/sudo.conf
13
-
14
- # Setup the entrypoint
15
- COPY entrypoint.sh /opt/crates-build-env/entrypoint.sh
16
- ENTRYPOINT ["/opt/crates-build-env/entrypoint.sh" ]
5
+ RUN apt-get update && \
6
+ cat /opt/crates-build-env/packages.txt | DEBIAN_FRONTEND=noninteractive xargs apt-get install -y && \
7
+ rm -rf /var/lib/apt/lists/*
17
8
18
9
CMD ["bash" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments