Skip to content

Commit

Permalink
Don't use --cache for apt for broader compatibility with docker imple…
Browse files Browse the repository at this point in the history
…mentations that don't have buildkit toverainc#32
  • Loading branch information
kristiankielhofner committed May 17, 2023
1 parent d6aa596 commit c9593c9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@ FROM espressif/idf:release-v4.4

ENV DEBIAN_FRONTEND="noninteractive"

RUN \
--mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/var/lib/apt/lists \
apt-get -qq update && \
apt-get -qq install \
RUN apt-get -qq update && \
apt-get -qq install \
git \
libusb-1.0-0 \
nano \
python-is-python3 \
python3 \
python3-num2words \
python3-num2words \
python3-pip \
python3-requests \
python3-venv \
sudo \
tio
tio \
&& rm -rf /var/lib/apt/lists/*

# Podman
RUN useradd --create-home --uid 1000 build
Expand Down

0 comments on commit c9593c9

Please sign in to comment.