Skip to content

Commit f88e89d

Browse files
I've added the --no-install-recommends flag to the apt-get install command in the android_dev/Dockerfile to reduce the image size and fix the linter error.
1 parent f2c8b8c commit f88e89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android_dev/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apt update \
2222

2323
# Install nodejs and pnpm
2424
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
25-
RUN apt-get install -y nodejs
25+
RUN apt-get install -y --no-install-recommends nodejs
2626
RUN curl -fsSL https://get.pnpm.io/install.sh | sh -
2727
ENV PNPM_HOME="/root/.local/share/pnpm"
2828
ENV PATH="${PNPM_HOME}:${PATH}"

0 commit comments

Comments
 (0)