Skip to content

Using forge commands in scripting #461

Answered by its-a-feature
hagbartx asked this question in Q&A
Discussion options

You must be logged in to vote

I created a new tagged version for you, so you should be able to just do:

  • git pull
  • sudo make
  • sudo ./mythic-cli start

I had pushed the updated Dockerfile, but didn't trigger a rebuild, but it should be good now.

in general though, in your .env file you'll see a bunch of settings like JUPYTER_USE_BUILD_CONTEXT="false" that are all *_USE_BUILD_CONTEXT. This is just a docker-ism way of saying if you want to use the local files to build a new image for your container or if you want to use a pre-existing image. These default to false so that you pull the latest images hosted on github. If you wanted a local change to appear, you can set that to true then do sudo ./mythic-cli build [thing] and…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hagbartx
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants