sudo pacman -Syu
sudo pacman -S packer
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y) | |
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN | |
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT | |
ARCH ?= arm | |
CROSS_COMPILE ?= | |
KVER ?= $(shell uname -r) | |
KSRC := /lib/modules/$(KVER)/build | |
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/ | |
INSTALL_PREFIX := | |
endif |
a52dec | |
aalib | |
acl | |
adwaita-icon-theme | |
alsa-lib | |
alsa-plugins | |
aspell | |
at-spi2-atk | |
at-spi2-core | |
atk |
a52dec aalib acl adwaita-icon-theme alsa-lib alsa-plugins aspell at-spi2-atk at-spi2-core atk attr audit autoconf automake avahi bash binutils bison boost-libs bullet bzip2 ca-certificates ca-certificates-cacert ca-certificates-mozilla ca-certificates-utils cairo cantarell-fonts ccache cdparanoia celt check chromaprint colord compositeproto connman coreutils cracklib crda cryptsetup curl damageproto db dbus dbus-glib dconf desktop-file-utils device-mapper dhcpcd dialog diffutils dnssec-anchors dri2proto dri3proto e2fsprogs elfutils enca expat faac faad2 fakeroot ffmpeg fftw file filesystem findutils fixesproto flac flex fontconfig fontsproto freetype2 fribidi gawk gc gcc gcc-libs gdb gdb-common gdbm gdk-pixbuf2 geoclue2 geocode-glib gettext ghostscript giflib git glib-networking glib2 glibc glibmm glproto glu gmime gmp gnupg gnutls gobject-introspection-runtime gpgme gpm graphene graphite grep groff gsettings-desktop-schemas gsfonts gsm gst-libav gst-plugins-bad gst-plugins-base gst-plugins-base-libs gst-plug |
FROM arm32v6/alpine | |
RUN apk add --no-cache dnsmasq | |
EXPOSE 53/tcp \ | |
53/udp \ | |
67/udp | |
ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"] |
FROM arm32v6/alpine | |
RUN apk add --no-cache dnsmasq | |
EXPOSE 53/tcp \ | |
53/udp \ | |
67/udp | |
ENTRYPOINT ["dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"] |
#!/bin/bash | |
function addswap { | |
SIZE=${1:-2G} | |
fallocate -l $SIZE /swapfile | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
} |
# aur | |
packer | |
# compile | |
git | |
base-devel | |
# xorg | |
xorg-server | |
xf86-video-fbdev |
version: '3.1' | |
services: | |
kodexplorer: | |
image: yangxuan8282/kodexplorer:php-amd64 | |
ports: | |
- 80:80 |
#!/bin/sh | |
#genetate archlinux image: chmod +x gen-arch.sh && sudo ./gen-arch.sh | |
#depends: arch-install-scripts, vim(xxd) | |
set -eu | |
die() { | |
printf '\033[1;31mERROR:\033[0m %s\n' "$@" >&2 # bold red | |
exit 1 | |
} |