Skip to content

Commit

Permalink
remove APT cache
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Apr 3, 2024
1 parent 5ee5065 commit b70b815
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ FROM ubuntu:latest

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -yq iproute2

RUN \
apt-get install -y ca-certificates && \
RUN <<EOT
apt-get -y update
apt-get -y install iproute2
apt-get -y install ca-certificates
update-ca-certificates
apt-get -y clean
rm -rf /var/lib/apt/lists/*
EOT

RUN useradd -rm -d /home/coap -s /bin/bash -u 1002 coap

Expand Down

0 comments on commit b70b815

Please sign in to comment.