| #! /usr/bin/env sh |
| |
| pkg install -y \ |
| curl \ |
| git \ |
| gnupg \ |
| openjdk21 \ |
| python3 \ |
| unzip \ |
| cmake \ |
| valgrind \ |
| doxygen \ |
| graphviz \ |
| lcov \ |
| wget \ |
| lsof \ |
| gmake \ |
| perl5 \ |
| bash \ |
| rust \ |
| py311-pip |
| |
| mount -t fdescfs fdesc /dev/fd |
| mount -t procfs proc /proc |
| |
| echo 'fdesc /dev/fd fdescfs rw 0 0' >> /etc/fstab |
| echo 'proc /proc procfs rw 0 0' >> /etc/fstab |
| |
| mkdir -p /etc/ssh/ssh_config.d/ |
| echo "Host *\n\tStrictHostKeyChecking accept-new" > /etc/ssh/ssh_config.d/accept_only_new_keys.conf |
| |
| # clear out previous known host pub keys |
| rm -f /etc/ssh/known_hosts |
| |
| # Download ssh host keys |
| # - github.com |
| ssh-keyscan -H github.com >> /etc/ssh/known_hosts |