next #1
|
@ -2,7 +2,7 @@ FROM ubuntu@sha256:8e1c1ee12a539d652c371ee2f4ee66909f4f5fd8002936d8011d958f05faf
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
ARG UBUNTU_MIRROR=http://us.archive.ubuntu.com/ubuntu
|
ARG UBUNTU_MIRROR=http://archive.ubuntu.com/ubuntu
|
||||||
|
|
||||||
ARG UID_TO_ADD=1000
|
ARG UID_TO_ADD=1000
|
||||||
ARG GID_TO_ADD=1000
|
ARG GID_TO_ADD=1000
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -1,10 +1,4 @@
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build . 2>&1 | tee -a build.log
|
sudo docker build --build-arg UBUNTU_MIRROR=http://ubuntumirror.app.las1.eeqj.de/ubuntu . 2>&1 | tee -a build.log
|
||||||
|
|
||||||
export DOCKER_HOST := ssh://datavi.be
|
|
||||||
export UBUNTU_MIRROR := http://de.archive.ubuntu.com/ubuntu
|
|
||||||
buildremote:
|
|
||||||
docker build --build-arg UBUNTU_MIRROR=$(UBUNTU_MIRROR) . 2>&1 | tee -a build.log
|
|
||||||
|
|
|
@ -22,7 +22,6 @@ diffstat
|
||||||
dnsutils
|
dnsutils
|
||||||
docker.io
|
docker.io
|
||||||
dos2unix
|
dos2unix
|
||||||
eclipse-platform
|
|
||||||
editorconfig
|
editorconfig
|
||||||
ffmpeg
|
ffmpeg
|
||||||
fonts-indic
|
fonts-indic
|
||||||
|
@ -30,13 +29,11 @@ fonts-ipafont-gothic
|
||||||
fonts-ipafont-mincho
|
fonts-ipafont-mincho
|
||||||
fortune
|
fortune
|
||||||
git
|
git
|
||||||
gnome-terminal
|
|
||||||
gnupg2
|
gnupg2
|
||||||
gnupg-agent
|
gnupg-agent
|
||||||
golang-go
|
golang-go
|
||||||
host
|
host
|
||||||
imagemagick
|
imagemagick
|
||||||
inetutils-ping
|
|
||||||
iputils-ping
|
iputils-ping
|
||||||
irssi
|
irssi
|
||||||
jq
|
jq
|
||||||
|
|
|
@ -6,6 +6,7 @@ export LANG="en_US.UTF-8"
|
||||||
export LANGUAGE="en_US:en"
|
export LANGUAGE="en_US:en"
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
set -e
|
||||||
|
|
||||||
TD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"
|
TD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"
|
||||||
|
|
||||||
|
@ -23,7 +24,7 @@ SSH_HOST_KEY_FILES="
|
||||||
"
|
"
|
||||||
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
|
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
|
||||||
locale-gen en_US.UTF-8
|
locale-gen en_US.UTF-8
|
||||||
update-locale LANG=en_US
|
update-locale LANG="en_US.UTF-8" LANGUAGE="en_US"
|
||||||
dpkg-reconfigure locales
|
dpkg-reconfigure locales
|
||||||
|
|
||||||
for FN in $SSH_HOST_KEY_FILES ; do
|
for FN in $SSH_HOST_KEY_FILES ; do
|
||||||
|
|
|
@ -19,6 +19,7 @@ curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/instal
|
||||||
export ZSH="$HOME/.zsh"
|
export ZSH="$HOME/.zsh"
|
||||||
bash /tmp/installomz.sh --unattended --keep-zshrc
|
bash /tmp/installomz.sh --unattended --keep-zshrc
|
||||||
|
|
||||||
|
zsh -c 'vim &'
|
||||||
# vim-plug
|
# vim-plug
|
||||||
# this should happen from vimrc
|
# this should happen from vimrc
|
||||||
#curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
#curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||||
|
@ -39,6 +40,7 @@ export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
pyenv install 3.8.2
|
pyenv install 3.8.2
|
||||||
|
pyenv global 3.8.2
|
||||||
|
|
||||||
git clone -n https://github.com/nvm-sh/nvm.git ~/.nvm
|
git clone -n https://github.com/nvm-sh/nvm.git ~/.nvm
|
||||||
pushd ~/.nvm
|
pushd ~/.nvm
|
||||||
|
@ -49,3 +51,11 @@ export NVM_DIR="$HOME/.nvm"
|
||||||
source "$NVM_DIR/nvm.sh"
|
source "$NVM_DIR/nvm.sh"
|
||||||
|
|
||||||
nvm install node
|
nvm install node
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
##### Personal Config
|
||||||
|
###############################################################################
|
||||||
|
# I had envisioned this image as adaptable to other users but I've decided
|
||||||
|
# to abandon that hope and hardcode my own values in here.
|
||||||
|
git config --global user.email sneak@sneak.berlin
|
||||||
|
git config --global user.name sneak
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export NVM_DIR="~/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
|
||||||
if [[ -e "$NVM_DIR/nvm.sh" ]]; then
|
if [[ -e "$NVM_DIR/nvm.sh" ]]; then
|
||||||
source "$NVM_DIR/nvm.sh"
|
source "$NVM_DIR/nvm.sh"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
|
Loading…
Reference in New Issue