2020-10 Open Infra Summit
https://summit.openinfra.dev/a/event/24514
- Quite boring. Also ansible
- Links:
| #!/usr/bin/env bash | |
| set -x | |
| alacritty -e bash -c "\ | |
| x11docker --share /dev/net/tun \ | |
| --sudouser \ | |
| --dbus \ | |
| --runasroot 'iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE' \ | |
| --name f5vpn \ | |
| -- \ | |
| --sysctl net.ipv4.ip_forward=1 \ |
| FROM archlinux AS builder | |
| RUN pacman -Sy --needed --noconfirm \ | |
| sudo base-devel wget | |
| RUN useradd builduser -m \ | |
| && passwd -d builduser \ | |
| && bash -c "printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers " | |
| RUN sudo -u builduser bash -c 'mkdir -p /tmp/build' |
2020-10 Open Infra Summit
https://summit.openinfra.dev/a/event/24514
| 00:00:00.000 [sway/main.c:326] Sway version v1.5 | |
| 00:00:00.002 [sway/main.c:153] Linux naga 5.4.53-1-lts #1 SMP Wed, 22 Jul 2020 20:16:09 +0000 x86_64 GNU/Linux | |
| 00:00:00.002 [sway/main.c:169] Contents of /etc/lsb-release: | |
| 00:00:00.002 [sway/main.c:153] LSB_VERSION=1.4 | |
| 00:00:00.002 [sway/main.c:153] DISTRIB_ID=Arch | |
| 00:00:00.002 [sway/main.c:153] DISTRIB_RELEASE=rolling | |
| 00:00:00.002 [sway/main.c:153] DISTRIB_DESCRIPTION="Arch Linux" | |
| 00:00:00.002 [sway/main.c:169] Contents of /etc/os-release: | |
| 00:00:00.002 [sway/main.c:153] NAME="Arch Linux" | |
| 00:00:00.002 [sway/main.c:153] PRETTY_NAME="Arch Linux" |
| 2020-07-30 16:32:38 - [sway/main.c:152] Linux naga 5.4.53-1-lts #1 SMP Wed, 22 Jul 2020 20:16:09 +0000 x86_64 GNU/Linux | |
| 2020-07-30 16:32:38 - [sway/main.c:168] Contents of /etc/lsb-release: | |
| 2020-07-30 16:32:38 - [sway/main.c:152] LSB_VERSION=1.4 | |
| 2020-07-30 16:32:38 - [sway/main.c:152] DISTRIB_ID=Arch | |
| 2020-07-30 16:32:38 - [sway/main.c:152] DISTRIB_RELEASE=rolling | |
| 2020-07-30 16:32:38 - [sway/main.c:152] DISTRIB_DESCRIPTION="Arch Linux" | |
| 2020-07-30 16:32:38 - [sway/main.c:168] Contents of /etc/os-release: | |
| 2020-07-30 16:32:38 - [sway/main.c:152] NAME="Arch Linux" | |
| 2020-07-30 16:32:38 - [sway/main.c:152] PRETTY_NAME="Arch Linux" | |
| 2020-07-30 16:32:38 - [sway/main.c:152] ID=arch |
| autocmd FileType dockerfile setlocal keywordprg=:DockerHelp | |
| function! DockerHelp(keyword) | |
| exec "silent !xdg-open https://docs.docker.com/engine/reference/builder/\\#" | |
| \ . tolower(a:keyword) | |
| exec 'redraw!' | |
| endfunction | |
| command! -nargs=1 DockerHelp :call DockerHelp(<f-args>) |
| RUN adduser --no-create-home --uid 1000 --gid 1000 ${AGENT_NAME} | |
| USER 1000 |
| set from = <your-email> | |
| set pgp_default_key = 0xDEADBEEF | |
| set pgp_sign_as = 0xDEADBEEF | |
| my_hdr X-PGP-Key: https://keybase.io/<username>/pgp_keys.asc # If you use keybase | |
| my_hdr OpenPGP: url=https://keybase.io/<username>/pgp_keys.asc | |
| unalternates '*' | |
| alternates <your-email> |