Skip to content

Commit

Permalink
added azure changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tqindia authored Apr 16, 2024
1 parent f95f871 commit 4057db1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV TZ=Asia/Kolkata \
ENV LANG en_US.utf8

WORKDIR /src
RUN apt-get update && apt-get install -y locales git curl sudo tzdata pkg-config linux-modules-extra-$(uname -r) && rm -rf /var/lib/apt/lists/* \
RUN apt-get update && apt-get install -y locales git curl sudo tzdata pkg-config linux-modules-extra-azure && rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
Expand Down
24 changes: 24 additions & 0 deletions Dockerfile.GCP
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ubuntu:20.04
MAINTAINER Yuvraj Yadav<hi@evalsocket.dev>

ENV TZ=Asia/Kolkata \
DEBIAN_FRONTEND=noninteractive
ENV LANG en_US.utf8

WORKDIR /src
RUN apt-get update && apt-get install -y locales git curl sudo tzdata pkg-config linux-modules-extra-$(uname -r) && rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

RUN git clone https://github.com/spdk/spdk --recursive

WORKDIR /src/spdk

RUN sudo scripts/pkgdep.sh
RUN sudo ./configure
RUN sudo make

COPY scripts/run.sh .

ENTRYPOINT ["/src/spdk/run.sh"]

0 comments on commit 4057db1

Please sign in to comment.