Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
obidare-folu authored Oct 29, 2023
1 parent 54ff431 commit 8cbd800
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update

# Install gcc, lcov, pkg-config, check library, git, and make
RUN apt-get install -y gcc lcov pkg-config check git make
RUN apt-get install -y lcov pkg-config check git make cmake gcc clang

# Clone GitHub repository
RUN git clone https://github.com/Alpgirl/Smart_calc.git

# Change the working directory
WORKDIR /Smart_calc/src

# Run make run
CMD ["make", "run"]
RUN ./prereqs.sh
CMD ["./test.sh"]
CMD ["./build.sh", "run"]


# to build image enter command docker build -t smart_calc .
# to run container enter command docker run -it --rm smart_calc
# to build image enter command "docker build -t smart_calc ."
# to run container enter command "docker run -it smart_calc"

0 comments on commit 8cbd800

Please sign in to comment.