-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added back docker folder for the stacks container
- Loading branch information
1 parent
84210a3
commit ddaf48a
Showing
2 changed files
with
864 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
devenv/LOCAL/[1]-CUSTOM-K8S-DOCKER-BUILDS/stacks/docker/Dockerfile
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM blockstack/stacks-core:2.5.0.0.3 | ||
MAINTAINER Gowtham Sundar <[email protected]> | ||
COPY . . | ||
# -----------INSTALL SUDO---------------------- | ||
RUN apt-get update && apt-get install -y sudo | ||
|
||
# RUN adduser --disabled-password --gecos '' docker | ||
# RUN adduser docker sudo | ||
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
|
||
# -------------------------------------------- | ||
# The container creates this the config.toml internally | ||
RUN chmod +rwx ./entrypoint.sh | ||
RUN sudo ./entrypoint.sh | ||
# -------------------------------------------- | ||
|
||
|
||
# COPY node-config.toml /config.toml | ||
EXPOSE 20444 | ||
EXPOSE 20443 | ||
CMD ["stacks-node", "start", "--config", "/config.toml"] |
Oops, something went wrong.