-
Notifications
You must be signed in to change notification settings - Fork 13
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 #36 from psibi/tramp-support
Tramp support
- Loading branch information
Showing
6 changed files
with
86 additions
and
37 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
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
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
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,11 @@ | ||
FROM fpco/pid1:22.04 | ||
|
||
RUN apt update -y && apt install -y curl | ||
|
||
RUN curl -sL https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz | tar xz && mv just /usr/local/bin/just | ||
|
||
RUN mkdir /home/sibi | ||
|
||
WORKDIR /home/sibi | ||
|
||
COPY justfile /home/sibi/justfile |
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,26 @@ | ||
* Testing tramp | ||
|
||
- Create a local docker image | ||
|
||
#+begin_src sh | ||
docker image build . -f Dockerfile -t just-test | ||
#+end_src | ||
|
||
- Run the container: | ||
|
||
#+begin_src sh | ||
docker run -it just-test bash | ||
#+end_src | ||
|
||
- Now do the followin in emacs: | ||
|
||
#+begin_src sh | ||
M-x docker-container | ||
#+end_src | ||
|
||
Go to the container that is running and get shell access. Once you get | ||
shell access, run the usual justl commands there: | ||
|
||
#+begin_src | ||
justl-exec-recipe-in-dir | ||
#+end_src |
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