Skip to content

Commit

Permalink
Dockerfile: change to debian commands
Browse files Browse the repository at this point in the history
  • Loading branch information
lskatz committed Nov 2, 2023
1 parent 5259250 commit dd76dfa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ LABEL maintainer="Lee Katz"
LABEL maintainer.email="[email protected]"
LABEL maintainer2="John Phan"

RUN apk update
RUN apk add --no-cache \
RUN apt-get update
RUN apt-get install \
ca-certificates \
build-base \
linux-headers \
Expand All @@ -26,6 +26,7 @@ RUN apk add --no-cache \
RUN mkdir -p /usr/src/app \
&& cd /usr/src/app \
&& git clone https://github.com/lskatz/fasten \
&& git checkout v${SOFTWARE_VER} \
&& cd /usr/src/app/fasten \
RUN cd /usr/src/app/fasten && cargo build --release

Expand Down

0 comments on commit dd76dfa

Please sign in to comment.