Skip to content

Instantly share code, notes, and snippets.

@brian-collins-af
brian-collins-af / alpine-tools.md
Created November 19, 2024 20:54 — forked from bruno-brant/alpine-tools.md
alpine: add curl, telnet ect

Tooling in alpine builds

Pretty usual to have to diagnose docker containers based on alpine distros. But the image never comes with basic tools. How do we add it?

apk update						      # update the local registry
apk add busybox-extras			# install telnet and some other basic tools
apk add curl
@brian-collins-af
brian-collins-af / packer-ami-id
Created June 20, 2023 15:37 — forked from danrigsby/packer-ami-id
Get AMI ID from a packer build
packer build packer.json 2>&1 | sudo tee output.txt
tail -2 output.txt | head -2 | awk 'match($0, /ami-.*/) { print substr($0, RSTART, RLENGTH) }' > sudo ami.txt
@brian-collins-af
brian-collins-af / logrotate_turnserver.conf
Created September 16, 2022 07:33 — forked from ricsiga/logrotate_turnserver.conf
logrotate for turnserver
# /etc/logrotate.d/turnserver
/var/log/turnserver.log {
daily
rotate 14
compress
missingok
notifempty
create 644 root root
su root root
@brian-collins-af
brian-collins-af / uberspace-wildcard-letsencrypt.md
Created August 10, 2022 20:14 — forked from simbo/uberspace-wildcard-letsencrypt.md
Let's Encrypt Wildcard Certificates at Uberspace using acme.sh

Let's Encrypt Wildcard Certificates at Uberspace using acme.sh

About

This documents how i've set up wildcard SSL support for my private websites (because once things are done, i tend to forget about their details).