Leonardo Sandoval | 854babb | 2022-01-27 10:20:00 -0600 | [diff] [blame] | 1 | #! /usr/bin/env sh |
| 2 | |
| 3 | pkg install -y \ |
| 4 | curl \ |
| 5 | git \ |
| 6 | gnupg \ |
Kelley Spoon | fcad2fe | 2025-07-17 12:33:51 -0500 | [diff] [blame] | 7 | openjdk21 \ |
Leonardo Sandoval | 854babb | 2022-01-27 10:20:00 -0600 | [diff] [blame] | 8 | python3 \ |
| 9 | unzip \ |
| 10 | cmake \ |
| 11 | valgrind \ |
| 12 | doxygen \ |
| 13 | graphviz \ |
| 14 | lcov \ |
| 15 | wget \ |
| 16 | lsof \ |
| 17 | gmake \ |
| 18 | perl5 \ |
Arthur She | 48dc52a | 2022-04-12 12:44:50 -0700 | [diff] [blame] | 19 | bash \ |
Kelley Spoon | fcad2fe | 2025-07-17 12:33:51 -0500 | [diff] [blame] | 20 | rust \ |
| 21 | py311-pip |
Leonardo Sandoval | 854babb | 2022-01-27 10:20:00 -0600 | [diff] [blame] | 22 | |
| 23 | mount -t fdescfs fdesc /dev/fd |
| 24 | mount -t procfs proc /proc |
| 25 | |
| 26 | echo 'fdesc /dev/fd fdescfs rw 0 0' >> /etc/fstab |
| 27 | echo 'proc /proc procfs rw 0 0' >> /etc/fstab |
Kelley Spoon | fcad2fe | 2025-07-17 12:33:51 -0500 | [diff] [blame] | 28 | |
| 29 | mkdir -p /etc/ssh/ssh_config.d/ |
| 30 | echo "Host *\n\tStrictHostKeyChecking accept-new" > /etc/ssh/ssh_config.d/accept_only_new_keys.conf |
| 31 | |
| 32 | # clear out previous known host pub keys |
| 33 | rm -f /etc/ssh/known_hosts |
| 34 | |
| 35 | # Download ssh host keys |
| 36 | # - github.com |
| 37 | ssh-keyscan -H github.com >> /etc/ssh/known_hosts |