-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f8c6ba
commit ccf901a
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# # Use a base image with C++ compiler and libraries installed | ||
# FROM gcc:latest | ||
# Use a base image with C++ compiler and libraries installed | ||
FROM gcc:latest | ||
|
||
# RUN apt-get update && apt-get install -y git | ||
# RUN git clone https://github.com/vinay-k-swift-nav/HelloUniverse /app | ||
RUN apt-get update && apt-get install -y git | ||
RUN git clone https://github.com/bablooswiftnav/HelloUniverse /app | ||
|
||
# # Set the working directory inside the container | ||
# WORKDIR /home/vinay/hellouniverse | ||
# Set the working directory inside the container | ||
WORKDIR /home/vinay/hellouniverse | ||
|
||
# # Copy the C++ source code into the container | ||
# COPY . . | ||
# Copy the C++ source code into the container | ||
COPY . . | ||
|
||
# # Compile the C++ code and generate the executable | ||
# RUN g++ -o hellouniverse /app/index.cpp | ||
# Compile the C++ code and generate the executable | ||
RUN g++ -o hellouniverse /app/index.cpp | ||
|
||
# # Set the entrypoint for the container | ||
# ENTRYPOINT ["/hellouniverse/app"] | ||
# Set the entrypoint for the container | ||
ENTRYPOINT ["/hellouniverse/app"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters