-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ksauraj/devel
Add docker support for automation
- Loading branch information
Showing
3 changed files
with
246 additions
and
311 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 +1,19 @@ | ||
# Sample Dockerfile here. | ||
FROM alpine:latest | ||
|
||
# Install required packages | ||
RUN apk add --no-cache python3-dev jq pv openssl neofetch curl-dev axel glib-dev openssl-dev python3 curl bash which zip git nano fortune file make g++ wget asciidoc coreutils | ||
|
||
# Set working directory | ||
WORKDIR /app | ||
|
||
# Copy all files to workdir | ||
COPY . . | ||
|
||
# Set permissions | ||
RUN chmod 755 /app | ||
|
||
# Set user | ||
USER root | ||
|
||
# Define default command | ||
CMD ["bash", "bot.sh", "--user", "root"] |
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
Oops, something went wrong.