Skip to content

Commit

Permalink
added back docker folder for the stacks container
Browse files Browse the repository at this point in the history
  • Loading branch information
SundarGowtham committed May 8, 2024
1 parent 84210a3 commit ddaf48a
Show file tree
Hide file tree
Showing 2 changed files with 864 additions and 0 deletions.
21 changes: 21 additions & 0 deletions devenv/LOCAL/[1]-CUSTOM-K8S-DOCKER-BUILDS/stacks/docker/Dockerfile
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"]
Loading

0 comments on commit ddaf48a

Please sign in to comment.