Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move apt-get's -y flag to the end #86

Open
wants to merge 1 commit into
base: 2.5-branch
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ARG ZEPHYR_VERSION
ENV ZEPHYR_VERSION=${ZEPHYR_VERSION}
RUN \
apt-get -y update \
&& apt-get -y install --no-install-recommends \
apt-get update -y \
&& apt-get install -y --no-install-recommends \
ccache \
cmake \
file \
Expand Down Expand Up @@ -41,12 +41,12 @@ ENV LC_ALL=C
ENV PAGER=less

RUN \
apt-get -y update \
&& apt-get -y install --no-install-recommends \
apt-get update -y \
&& apt-get install -y --no-install-recommends \
curl \
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get -y update \
&& apt-get -y install --no-install-recommends \
&& apt-get update -y \
&& apt-get install -y --no-install-recommends \
clang-format \
g++-multilib \
gdb \
Expand Down Expand Up @@ -88,8 +88,8 @@ ARG ZEPHYR_SDK_VERSION
ARG ZEPHYR_SDK_SETUP_FILENAME=zephyr-toolchain-${ARCHITECTURE}-${ZEPHYR_SDK_VERSION}-x86_64-linux-setup.run
ARG ZEPHYR_SDK_INSTALL_DIR=/opt/zephyr-sdk-${ZEPHYR_SDK_VERSION}
RUN \
apt-get -y update \
&& apt-get -y install --no-install-recommends \
apt-get update -y \
&& apt-get install -y --no-install-recommends \
bzip2 \
wget \
xz-utils \
Expand Down