C-u C-c C-v t
#+HEADER: :tangle Dockerfile #+BEGIN_SRC sh
FROM alpine:edge
RUN apk --no-cache add
openssh
socat
autossh
netcat-openbsd
#+END_SRC
| tag | autossh | alpine | openssh | | |-----+---------+--------+-----------+------------------------| | 1.4 | 1.4g-r1 | v3.10 | 8.0_p1-r0 | [2019-07-19 Fri 02:06] | | | | | | | | | 1.4g-r1 | edge | 8.0_p1-r0 | | | | | | | |
| master | | | | edge |
| | tangle the Dockerfile | | | | | | push to bitbucket | | | | | 30 | build the image | | | | | 40 | test the image | | | | | 50 | git tag | | | | | 60 | git checkout -b edge | | | |
** 30
git clone https://[email protected]/cmch/autossh.git
git clone [email protected]:cmch/autossh.git
cd autossh
docker build .
** 40
docker run -it --rm sh
docker run -it --rm c5766/autossh autossh -V
** 50
| git tag mytag | | | | M-x magit-tag t mytag |
** 60
| git checkout -b edge | | | | magit-branch-and-checkout | | |
| /etc/ssh/moduli | openssh-client | edge | main | x86_64 | | /etc/ssh/ssh_config | openssh-client | edge | main | x86_64 | | /usr/bin/ssh-pkcs11-helper | openssh-client | edge | main | x86_64 | | /usr/bin/ssh | openssh-client | edge | main | x86_64 | | /usr/bin/sftp | openssh-client | edge | main | x86_64 | | /usr/bin/scp | openssh-client | edge | main | x86_64 | | /usr/bin/ssh-keyscan | openssh-client | edge | main | x86_64 | | /usr/bin/ssh-copy-id | openssh-client | edge | main | x86_64 | | /usr/bin/ssh-add | openssh-client | edge | main | x86_64 | | /usr/bin/ssh-agent | openssh-client | edge | main | x86_64 | | /usr/bin/findssl.sh | openssh-client | edge | main | x86_64 |
openssh-client openssh-doc openssh-keygen openssh-keysign openssh-server openssh-server-common openssh-server-pam openssh-sftp-server
https://pkgs.alpinelinux.org/contents?branch=edge&name=openssh-client&arch=x86_64&repo=main
** Git Branching - Basic Branching and Merging
https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging
Git 分支 - 分支的新增與合併
Content type
Image
Digest
Size
5.4 MB
Last updated
about 7 years ago
docker pull c5766/autossh