traefik/docker-compose.yml
version: '2'
services:
proxy:
image: traefik
networks:
- webgateway
#!/bin/bash | |
# scripts to install ArchLinuxARM for RPi | |
# Author: Yangxuan <yangxuan8282@gmail.com> | |
# | |
# run this scripts with root user, not via sudo | |
# to create the partitions programatically (rather than manually) | |
# we're going to simulate the manual input to fdisk | |
# Note that a blank line (commented as "defualt" will send a empty | |
# line terminated with a newline to take the fdisk default. | |
if [ "$EUID" -ne 0 ] |
--- qt-everywhere-opensource-src-5.7.0/qtbase/src/corelib/tools/qhash.cpp.orig 2016-12-06 08:34:11.021300221 +0000 | |
+++ qt-everywhere-opensource-src-5.7.0/qtbase/src/corelib/tools/qhash.cpp 2016-12-06 08:35:07.411028643 +0000 | |
@@ -137,7 +137,7 @@ | |
h = _mm_crc32_u8(h, *p); | |
return h; | |
} | |
-#elif defined(__ARM_FEATURE_CRC32) | |
+#elif defined(__ARM_FEATURE_CRC32_NA) | |
static inline bool hasFastCrc32() | |
{ |
#!/bin/bash | |
sudo mv /etc/apt/sources.list /etc/apt/sources.list.orig | |
sudo sh -c 'cat > /etc/apt/sources.list << "EOF" | |
deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ jessie main contrib non-free rpi | |
#deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ jessie main contrib non-free rpi | |
EOF' | |
sudo mv /etc/apt/sources.list.d/raspi.list /etc/apt/sources.list.d/raspi.list.orig | |
sudo sh -c 'cat > /etc/apt/sources.list.d/raspi.list << "EOF" | |
deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ jessie main ui | |
#deb-src http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ jessie main ui |
#!/bin/bash | |
# FROM https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=106529 | |
# RUN `bash migrate_noobs.sh` | |
# ABOUT migrating NOOBs to Raspbian | |
# you need prepare 2 SD cards, card A running NOOBs that you want to migrate, put this card in pi card slot | |
# card B plug into card reader, insert this into pi usb port, all data in this card will be erased | |
# and remove all other storage | |
BOOT_PARTITION=`mount|grep ' /boot '|cut -d' ' -f 1` |
#!/bin/bash | |
# temporary fix [dog tunnel lite]( https://github.com/vzex/dog-tunnel/tree/udpVersion ) reconnect port in used issues | |
# before run this script you need to install `sudo`, `dog-tunnel lite` on server, and install `screen`, `sudo`, `dog-tunnel lite` on client | |
# | |
# you can download `dog-tunnel lite` binary file here ( the offcial prebuilt arm binary file not work for me ): | |
# [amd64]: wget https://raw.githubusercontent.com/yangxuan8282/docker-image/master/dog-tunnel/lite_v1.30/amd64/dog-tunnel | |
# [arm]: wget https://raw.githubusercontent.com/yangxuan8282/docker-image/master/dog-tunnel/lite_v1.30/arm/dog-tunnel | |
# the binary file was built in docker ( https://github.com/yangxuan8282/docker-image/blob/master/dog-tunnel ) | |
# the default installation path of `dog-tunnel lite` is `/usr/local/bin/` | |
# |
traefik/docker-compose.yml
version: '2'
services:
proxy:
image: traefik
networks:
- webgateway
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 |