Skip to content

Commit

Permalink
apt-get instead of apt
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 14, 2024
1 parent affe2e6 commit d86c5bc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ WORKDIR /hamframe

# prereq for couchbase python sdk

RUN apt update && \
apt upgrade --yes && \
apt install --yes \
RUN apt-get update && \
apt-get upgrade --yes && \
apt-get install --yes \
ccache \
cmake \
g++ \
Expand Down Expand Up @@ -45,15 +45,15 @@ COPY requirements.txt .
RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt

# remove unneccessary stuff
RUN apt remove --yes \
RUN apt-get remove --yes \
ccache \
cmake \
g++ \
git \
libssl-dev \
zlib1g-dev \
&& \
apt autoremove --yes
apt-get autoremove --yes


FROM python:slim AS stage-3
Expand Down

0 comments on commit d86c5bc

Please sign in to comment.