diff --git a/compose/wordpress/docker-compose.yml b/compose/wordpress/docker-compose.yml deleted file mode 100644 index bf6ee1b..0000000 --- a/compose/wordpress/docker-compose.yml +++ /dev/null @@ -1,34 +0,0 @@ -version: '2' - -services: - wordpress: - image: wordpress - - environment: - WORDPRESS_DB_USER: root - WORDPRESS_DB_PASSWORD: example - WORDPRESS_DB_NAME: test - - backplane: - image: backplaneio/backplane - # Settings for the backplane agent - environment: - # Contains your backplane connect token (secret) - BACKPLANE_TOKEN: H09187NeTkOKHMYPZMTb4ftDISdQFhWJTFUzZshB7czadnweulfRv09A5tcxwyVk9iG1bxj-OT1zb4-j5n1z - - # The URL that the backplane agent will proxy to/from. - # This by default will route to/from the linked app 'some-webapp'. - BACKPLANE_PROXY_URL: http://wordpress:80 - - # Your labels for this agent to use. - # EX: endpoint:example.com release:v1 - BACKPLANE_LABELS: "endpoint:mota.cf release:v1" - - # Change this to whatever your application service name is - links: - - wordpress:webapp - - db: - image: mariadb - environment: - MYSQL_ROOT_PASSWORD: example diff --git a/dev/dotfiles/build.sh b/dev/dotfiles/build.sh deleted file mode 100644 index c2acbd3..0000000 --- a/dev/dotfiles/build.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -images="haskell lisp nim" -base="docker.io/xena/dotfiles" - -docker pull $base - -for image in $images -do - ( - docker rmi $base"-"$image - docker build -t $base"-"$image $image - docker push $base"-"$image - ) -done - -wait diff --git a/dev/dotfiles/haskell/Dockerfile b/dev/dotfiles/haskell/Dockerfile deleted file mode 100644 index de69bf2..0000000 --- a/dev/dotfiles/haskell/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM docker.io/xena/dotfiles - -ADD https://s3.amazonaws.com/download.fpcomplete.com/fedora/23/fpco.repo /etc/yum.repos.d - -USER root -RUN dnf -y install stack - -USER xena -RUN stack setup - -CMD fish -l diff --git a/dev/dotfiles/lisp/Dockerfile b/dev/dotfiles/lisp/Dockerfile deleted file mode 100644 index c44cc2f..0000000 --- a/dev/dotfiles/lisp/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM docker.io/xena/dotfiles - -USER root -RUN dnf -y install sbcl - -USER xena -WORKDIR /home/xena -RUN (mkdir dl || true) -ADD ./setup.lisp dl/setup_quicklisp.lisp -ADD ./sbclrc /home/xena/.sbclrc - -RUN wget https://beta.quicklisp.org/quicklisp.lisp -O dl/quicklisp.lisp && \ - sbcl --load dl/quicklisp.lisp < dl/setup_quicklisp.lisp diff --git a/dev/dotfiles/lisp/sbclrc b/dev/dotfiles/lisp/sbclrc deleted file mode 100644 index 3a931d0..0000000 --- a/dev/dotfiles/lisp/sbclrc +++ /dev/null @@ -1,6 +0,0 @@ -;;; The following lines added by ql:add-to-init-file: -#-quicklisp -(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" - (user-homedir-pathname)))) - (when (probe-file quicklisp-init) - (load quicklisp-init))) diff --git a/dev/dotfiles/lisp/setup.lisp b/dev/dotfiles/lisp/setup.lisp deleted file mode 100644 index 6faf54c..0000000 --- a/dev/dotfiles/lisp/setup.lisp +++ /dev/null @@ -1 +0,0 @@ -(quicklisp-quickstart:install) diff --git a/dev/dotfiles/nim/Dockerfile b/dev/dotfiles/nim/Dockerfile deleted file mode 100644 index 854b0e1..0000000 --- a/dev/dotfiles/nim/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM docker.io/xena/dotfiles - -ADD ./setup.sh /opt/xena/setup_nim.sh - -RUN /opt/xena/setup_nim.sh diff --git a/dev/dotfiles/nim/setup.sh b/dev/dotfiles/nim/setup.sh deleted file mode 100755 index 61cce4c..0000000 --- a/dev/dotfiles/nim/setup.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -cd $HOME - -mkdir prefix -cd prefix -wget http://nim-lang.org/download/nim-0.13.0.tar.xz -tar xf nim-0.13.0.tar.xz - -( - cd nim-0.13.0 - ./build.sh -) - -ln -s nim-0.13.0 nim - -PATH=$PATH:$HOME/prefix/nim/bin - -mkdir -p $HOME/tmp -cd $HOME/tmp - -( - git clone https://github.com/nim-lang/nimble.git - cd nimble - git clone -b v0.13.0 --depth 1 https://github.com/nim-lang/nim vendor/nim - nim -d:release c -r src/nimble install -) - -rm -rf nimble - -PATH=$PATH:$HOME/.nimble/bin - -nimble refresh - -nimble install nimsuggest -nimble install c2nim diff --git a/dev/drone/Dockerfile b/dev/drone/Dockerfile deleted file mode 100644 index 4ee0512..0000000 --- a/dev/drone/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM flitter/init - -RUN wget -O /tmp/drone.deb http://downloads.drone.io/master/drone.deb && \ - dpkg -i /tmp/drone.deb && \ - apt-get -f install # Sun Oct 26 10:23:45 PDT 2014 - -ADD drone /etc/service/drone/run -CMD /sbin/my_init - -EXPOSE 8000 diff --git a/dev/drone/drone b/dev/drone/drone deleted file mode 100755 index 59a5760..0000000 --- a/dev/drone/drone +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -export DRONE_DATABASE_DRIVER="postgres" -export DRONE_DATABASE_DATASOURCE="host=$DB_PORT_5432_TCP_ADDR user=postgres dbname=drone sslmode=disable" -export DRONE_SERVER_PORT=:8080 - -if [ -z "$DOCKER_HOST" ]; then - echo "No docker host" - exit 1 -else - export DRONE_WORKER_NODES=$DOCKER_HOST -fi - -echo 'Everything is okay. Starting up drone!' - -droned diff --git a/dev/drone/drone-db-fix.service b/dev/drone/drone-db-fix.service deleted file mode 100644 index 1e290e3..0000000 --- a/dev/drone/drone-db-fix.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Drone.io continunous integration and delivery -After=docker.service -After=drone-db.service -Requires=docker.service - -[Service] -Type=oneshot -ExecStart=/usr/bin/docker run --rm --link drone-db:pg xena/drone-fixdb -ExecStop=/usr/bin/fleetctl destroy drone-db-fix.service - -[Install] -WantedBy=multi-user.target - -[X-Fleet] -MachineOf=drone-db.service diff --git a/dev/drone/drone-db.service b/dev/drone/drone-db.service deleted file mode 100644 index 9673e9e..0000000 --- a/dev/drone/drone-db.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Drone.io continunous integration and delivery database -After=docker.service -Requires=docker.service - -[Service] -TimeoutStartSec=0 -ExecStartPre=-/usr/bin/docker kill dronedb -ExecStartPre=/usr/bin/docker pull postgres -ExecStart=/usr/bin/docker run --name drone-db postgres -ExecStop=/usr/bin/docker kill drone - -[Install] -WantedBy=multi-user.target diff --git a/dev/drone/drone.service b/dev/drone/drone.service deleted file mode 100644 index c39afa4..0000000 --- a/dev/drone/drone.service +++ /dev/null @@ -1,22 +0,0 @@ -[Unit] -Description=Drone.io continunous integration and delivery -After=docker.service -After=drone-db.service -After=drone-db-fix.service -Requires=docker.service - -# You need to edit this for your github/gitlab api keys - -[Service] -TimeoutStartSec=0 -ExecStartPre=-/usr/bin/docker kill drone -ExecStartPre=-/usr/bin/docker rm drone -ExecStartPre=/usr/bin/docker pull xena/drone -ExecStart=/usr/bin/docker run --name drone --link drone-db:db --hostname drone -v /var/run/docker.sock:/docker.sock -e DOCKER_HOST="unix:///docker.sock" -P xena/drone -ExecStop=/usr/bin/docker rm -f drone - -[Install] -WantedBy=multi-user.target - -[X-Fleet] -MachineOf=drone-db.service diff --git a/dev/drone/fixdb/Dockerfile b/dev/drone/fixdb/Dockerfile deleted file mode 100644 index 6bdeefe..0000000 --- a/dev/drone/fixdb/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM postgres - -ADD fixdb.sh / - -CMD /fixdb.sh diff --git a/dev/drone/fixdb/fixdb.sh b/dev/drone/fixdb/fixdb.sh deleted file mode 100755 index 7756051..0000000 --- a/dev/drone/fixdb/fixdb.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -psql -h $PG_PORT_5432_TCP_ADDR -p $PG_PORT_5432_TCP_PORT -U postgres -c "CREATE DATABASE drone;" diff --git a/dev/fedora/21/base/Dockerfile b/dev/fedora/21/base/Dockerfile deleted file mode 100644 index 7c71524..0000000 --- a/dev/fedora/21/base/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ -FROM fedora:21 - -RUN dnf -y groupinstall "Development Tools" &&\ - dnf -y install tar zsh git python wget openssl-devel vim-enhanced tmux dtach cmake python-devel mercurial lua luarocks gcc-c++ xz clang-devel &&\ - useradd --create-home xena && \ - echo 'root:screencast' | chpasswd && \ - echo 'xena:user' | chpasswd && \ - chsh xena -s /bin/zsh - -# Envvars! -ENV HOME /home/xena -ENV DOCKER YES -ENV LANGUAGE en_US -ENV LC_ALL en_US.UTF-8 -ENV LANG en_US.UTF-8 -ENV LC_CTYPE en_US.UTF-8 - -# To use Docker please pass the docker socket as a bind mount -# Some of my servers still use docker 1.3.0 -RUN wget https://get.docker.com/builds/Linux/x86_64/docker-1.3.0 -O /usr/local/bin/docker && \ - chmod 555 /usr/local/bin/docker - -# Golang compilers -RUN cd /usr/local && wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz && \ - tar xf go1.4.2.linux-amd64.tar.gz && rm go1.4.2.linux-amd64.tar.gz - -ADD setup.sh /opt/xena/setup.sh -ADD ./vimplugins.lua /opt/xena/vimplugins.lua -RUN chmod 777 /opt/xena/setup.sh &&\ - su xena "/opt/xena/setup.sh" - -RUN dnf -y install dnf-plugins-core &&\ - yes | dnf copr enable xena/moonscript &&\ - dnf -y install lua-moonscript &&\ - yes | dnf copr enable avsej/nim &&\ - dnf -y install nim - -USER xena -CMD /bin/zsh diff --git a/dev/fedora/21/base/setup.sh b/dev/fedora/21/base/setup.sh deleted file mode 100755 index 6c7bea8..0000000 --- a/dev/fedora/21/base/setup.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -set -x - -# Sanity check / setup -cd /home/xena -mkdir code ||: - -# Clone dotiles -git clone https://github.com/Xe/dotfiles code/dotfiles ||: - -# setlink sets a symlink to my dotfiles repo for the correct file. -function setlink -{ - rm -rf $HOME/$1 - ln -s $HOME/code/dotfiles/$1 $HOME/$1 -} - -# set links -setlink .zshrc -setlink .zsh -setlink .vim -setlink .vimrc -setlink .gitconfig -setlink .tmux.conf - -export GOPATH=/home/xena/go -export PATH=/usr/local/go/bin:$PATH - -# Golang stuff -(mkdir -p ~/go/{pkg,bin,src}) -go get github.com/mattn/todo -go get github.com/motemen/ghq -go get github.com/Xe/tools/license - -# Setup vundle -git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim - -# Set up vim plugins -cat ~/.vimrc | grep Plugin | cut -d"'" -f2 > ~/.plugins -(cd ~/.vim/bundle && lua /opt/xena/vimplugins.lua ~/.plugins) - -# Binary extensions for vim -(cd ~/.vim/bundle/YouCompleteMe; ./install.sh --clang-completer) -(cd ~/.vim/bundle/vimproc.vim; make) -vim -T dumb +GoInstallBinaries +qall - -echo "Set up!" diff --git a/dev/fedora/21/base/vimplugins.lua b/dev/fedora/21/base/vimplugins.lua deleted file mode 100644 index ca8098b..0000000 --- a/dev/fedora/21/base/vimplugins.lua +++ /dev/null @@ -1,12 +0,0 @@ -fin = io.open(arg[1], "r") - -if fin == nil then - error("Can't open " .. arg[1]) -end - -for line in fin:lines() do - os.execute("git clone https://github.com/" .. line) - os.execute("cd " .. line:match(".+/(.+)") .. " && git submodule update --init --recursive && cd ..") -end - -fin:close() diff --git a/dev/fedora/21/rust/Dockerfile b/dev/fedora/21/rust/Dockerfile deleted file mode 100644 index d31e91a..0000000 --- a/dev/fedora/21/rust/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM xena/fedora - -RUN curl -s https://static.rust-lang.org/rustup.sh | sh diff --git a/dev/fedora/22/base/Dockerfile b/dev/fedora/22/base/Dockerfile deleted file mode 100644 index 67f4fe4..0000000 --- a/dev/fedora/22/base/Dockerfile +++ /dev/null @@ -1,65 +0,0 @@ -FROM fedora:22 - -RUN dnf -y groupinstall "Development Tools" &&\ - dnf -y install \ - tar \ - zsh \ - git \ - python \ - wget \ - openssl-devel \ - vim-enhanced \ - tmux \ - dtach \ - cmake \ - python-devel \ - mercurial \ - lua \ - luarocks \ - gcc-c++ \ - xz \ - clang-devel \ - php \ - file \ - net-tools &&\ - useradd --create-home xena && \ - echo 'root:screencast' | chpasswd && \ - echo 'xena:user' | chpasswd && \ - chsh xena -s /bin/zsh - -# Envvars! -ENV HOME /home/xena -ENV DOCKER YES -ENV LANGUAGE en_US -ENV LC_ALL en_US.UTF-8 -ENV LANG en_US.UTF-8 -ENV LC_CTYPE en_US.UTF-8 - -# Golang compilers -RUN cd /usr/local && wget https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz && \ - tar xf go1.5.linux-amd64.tar.gz && rm go1.5.linux-amd64.tar.gz - -# Set up vim -ADD setup.sh /opt/xena/setup.sh -ADD ./vimplugins.lua /opt/xena/vimplugins.lua -RUN chmod 777 /opt/xena/setup.sh &&\ - su xena "/opt/xena/setup.sh" - -# To use Docker please pass the docker socket as a bind mount -# Some of my servers still use docker 1.6.0 -RUN wget https://get.docker.com/builds/Linux/x86_64/docker-1.6.0 -O /usr/local/bin/docker && \ - chmod 555 /usr/local/bin/docker - -# Not needed? -RUN dnf -y install dnf-plugins-core &&\ - yes | dnf copr enable xena/moonscript &&\ - dnf -y install lua-moonscript &&\ - yes | dnf copr enable avsej/nim &&\ - dnf -y install nim - -# Add Tini -ENV TINI_VERSION v0.5.0 -ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static /tini -RUN chmod +x /tini -ENTRYPOINT ["/tini", "--"] -ENV INITSYSTEM tini diff --git a/dev/fedora/22/base/setup.sh b/dev/fedora/22/base/setup.sh deleted file mode 100755 index 6c7bea8..0000000 --- a/dev/fedora/22/base/setup.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -set -x - -# Sanity check / setup -cd /home/xena -mkdir code ||: - -# Clone dotiles -git clone https://github.com/Xe/dotfiles code/dotfiles ||: - -# setlink sets a symlink to my dotfiles repo for the correct file. -function setlink -{ - rm -rf $HOME/$1 - ln -s $HOME/code/dotfiles/$1 $HOME/$1 -} - -# set links -setlink .zshrc -setlink .zsh -setlink .vim -setlink .vimrc -setlink .gitconfig -setlink .tmux.conf - -export GOPATH=/home/xena/go -export PATH=/usr/local/go/bin:$PATH - -# Golang stuff -(mkdir -p ~/go/{pkg,bin,src}) -go get github.com/mattn/todo -go get github.com/motemen/ghq -go get github.com/Xe/tools/license - -# Setup vundle -git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim - -# Set up vim plugins -cat ~/.vimrc | grep Plugin | cut -d"'" -f2 > ~/.plugins -(cd ~/.vim/bundle && lua /opt/xena/vimplugins.lua ~/.plugins) - -# Binary extensions for vim -(cd ~/.vim/bundle/YouCompleteMe; ./install.sh --clang-completer) -(cd ~/.vim/bundle/vimproc.vim; make) -vim -T dumb +GoInstallBinaries +qall - -echo "Set up!" diff --git a/dev/fedora/22/base/vimplugins.lua b/dev/fedora/22/base/vimplugins.lua deleted file mode 100644 index ca8098b..0000000 --- a/dev/fedora/22/base/vimplugins.lua +++ /dev/null @@ -1,12 +0,0 @@ -fin = io.open(arg[1], "r") - -if fin == nil then - error("Can't open " .. arg[1]) -end - -for line in fin:lines() do - os.execute("git clone https://github.com/" .. line) - os.execute("cd " .. line:match(".+/(.+)") .. " && git submodule update --init --recursive && cd ..") -end - -fin:close() diff --git a/dev/fedora/22/haskell/Dockerfile b/dev/fedora/22/haskell/Dockerfile deleted file mode 100644 index 85a0f68..0000000 --- a/dev/fedora/22/haskell/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM xena/base - -ADD https://s3.amazonaws.com/download.fpcomplete.com/centos/7/fpco.repo /etc/yum.repos.d/fpco.repo -RUN dnf install -y stack - -USER xena -CMD /bin/zsh diff --git a/dev/fedora/22/rust/Dockerfile b/dev/fedora/22/rust/Dockerfile deleted file mode 100644 index 31ac3ae..0000000 --- a/dev/fedora/22/rust/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM xena/base - -USER root -ADD ./sudo /bin/sudo -RUN wget https://static.rust-lang.org/rustup.sh -O /rust.sh &&\ - yes | bash /rust.sh -y &&\ - rm /bin/sudo - -USER xena -CMD /bin/zsh diff --git a/dev/fedora/22/rust/sudo b/dev/fedora/22/rust/sudo deleted file mode 100755 index d86598e..0000000 --- a/dev/fedora/22/rust/sudo +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -echo "Fake sudo! $*" - -exec $* diff --git a/dev/fedora/22/spacemacs/Dockerfile b/dev/fedora/22/spacemacs/Dockerfile deleted file mode 100644 index 3b619c6..0000000 --- a/dev/fedora/22/spacemacs/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM xena/base - -RUN dnf -y install emacs - -USER xena -RUN git clone https://github.com/syl20bnr/spacemacs /home/xena/.emacs.d -RUN emacs --daemon -RUN emacs --daemon - -CMD /bin/zsh diff --git a/dev/gimlet/Dockerfile b/dev/gimlet/Dockerfile deleted file mode 100644 index 925ebfb..0000000 --- a/dev/gimlet/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM flitter/init -MAINTAINER Xena - -RUN apt-get update &&\ - apt-get -y install libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make curl git-core luarocks &&\ - luarocks install moonrocks --server=http://rocks.moonscript.org &&\ - moonrocks install gimlet-cocktail &&\ - moonrocks install moonscript &&\ - moonrocks install yaml &&\ - moonrocks install xavante &&\ - moonrocks install wsapi &&\ - moonrocks install wsapi-xavante - -ADD prepare.moon /app/prepare.moon -ADD gimlet /etc/service/gimlet/run -ENTRYPOINT /sbin/my_init - -ENV PORT 5000 -EXPOSE 5000 -ENV ENVIRONMENT docker - -ONBUILD ADD app.yaml /app/ -ONBUILD RUN moon /app/prepare.moon /app/app.yaml -ONBUILD ADD . /app/src -ONBUILD RUN moonc /app/src diff --git a/dev/gimlet/gimlet b/dev/gimlet/gimlet deleted file mode 100755 index 027cb8c..0000000 --- a/dev/gimlet/gimlet +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -cd /app/src - -gimlet -x app diff --git a/dev/gimlet/prepare.moon b/dev/gimlet/prepare.moon deleted file mode 100644 index eff3e11..0000000 --- a/dev/gimlet/prepare.moon +++ /dev/null @@ -1,35 +0,0 @@ -yaml = require "yaml" - -manifest_path = ... - -error "Missing manifest_path" if not manifest_path - -strip = (str) -> str\match "^%s*(.-)%s*$" - -read_cmd = (cmd) -> - f = io.popen cmd, "r" - with strip f\read"*a" - assert f\close! - -fin = io.open manifest_path, "r" -app = yaml.load fin\read "*a" -fin\close! - -if app.overlay - print "writing overlay for #{app.name or "this application"}" - - for step, command in pairs app.overlay - f = io.popen command, "r" - for line in f\lines! - print "#{step} -- #{line}" - - assert f\close! - -if app.dependencies - print "installing dependencies for #{app.name or "this application"}..." - - for _, dep in pairs app.dependencies - print "installing dependency #{dep}" - read_cmd "moonrocks install #{dep}" - -print "done!" diff --git a/dev/guix/Dockerfile b/dev/guix/Dockerfile deleted file mode 100644 index 2deb5c3..0000000 --- a/dev/guix/Dockerfile +++ /dev/null @@ -1,32 +0,0 @@ -FROM alpine - -# Add Tini -ENV TINI_VERSION v0.8.3 -ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static /tini -RUN chmod +x /tini -ADD ./entrypoint.sh / -ENTRYPOINT ["/entrypoint.sh"] - -ENV GUIX_VERSION 0.9.0 -ENV PATH $PATH:/var/guix/profiles/default/guix-profile/bin - -# update to edge -ADD repositories /etc/apk/repositories -RUN apk update && apk upgrade - -# install guix in one pass -RUN set -x && apk update && apk add xz tar wget runit \ - && wget ftp://alpha.gnu.org/gnu/guix/guix-binary-0.9.0.x86_64-linux.tar.xz -O guix.tar.xz \ - && tar xJf guix.tar.xz \ - && rm guix.tar.xz \ - && addgroup guixbuild \ - && chmod 1775 /gnu/store \ - && ln -sf /var/guix/profiles/per-user/root/guix-profile ~root/.guix-profile \ - && mkdir -p /usr/local/bin \ - && cd /usr/local/bin \ - && ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix \ - && guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub \ - && adduser -S guix-builder guix-builder \ - && adduser guix-builder guixbuild - -ADD runit/ /etc/system diff --git a/dev/guix/README.md b/dev/guix/README.md deleted file mode 100644 index a7eca03..0000000 --- a/dev/guix/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# Guix in Docker - -Guix is cool, so is Docker, why not combine them? - -```console -$ docker build -t xena/guix . -$ docker run --rm -it --privileged xena/guix /bin/sh -$ pstree -tini-+-runsvdir---runsv---run---guix-daemon -`-sh---pstree -$ guix package --install hello -$ hello -Hello, world! -``` diff --git a/dev/guix/entrypoint.sh b/dev/guix/entrypoint.sh deleted file mode 100755 index 9147088..0000000 --- a/dev/guix/entrypoint.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -set -e - -runsvdir /etc/system & - -exec /tini -- $* diff --git a/dev/guix/repositories b/dev/guix/repositories deleted file mode 100644 index 9293072..0000000 --- a/dev/guix/repositories +++ /dev/null @@ -1,2 +0,0 @@ -http://dl-4.alpinelinux.org/alpine/edge/main -http://dl-4.alpinelinux.org/alpine/edge/testing diff --git a/dev/guix/runit/guix-daemon/run b/dev/guix/runit/guix-daemon/run deleted file mode 100755 index da8cc2b..0000000 --- a/dev/guix/runit/guix-daemon/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -~root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild diff --git a/dev/lapis-ultimate/Dockerfile b/dev/lapis-ultimate/Dockerfile deleted file mode 100644 index 060a6cb..0000000 --- a/dev/lapis-ultimate/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM phusion/baseimage:0.9.17 -MAINTAINER Xena - -RUN apt-get update && \ - apt-get -y install libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make curl git-core luarocks lua-sec nodejs npm lua-discount - -ENV SRC_DIR /opt -ENV OPENRESTY_VERSION 1.9.3.2 -ENV OPENRESTY_PREFIX /app/openresty - -RUN cd $SRC_DIR && curl -LO http://openresty.org/download/ngx_openresty-$OPENRESTY_VERSION.tar.gz &&\ - tar xzf ngx_openresty-$OPENRESTY_VERSION.tar.gz && cd ngx_openresty-$OPENRESTY_VERSION &&\ - ./configure --prefix=$OPENRESTY_PREFIX &&\ - make && make install && rm -rf ngx_openresty-$OPENRESTY_VERSION* &&\ - luarocks install moonscript &&\ - luarocks install moonbox &&\ - npm install -g bower && npm install -g coffee-script &&\ - ln -s /usr/bin/nodejs /usr/local/bin/node - -ADD lapis /etc/service/lapis/run -ENTRYPOINT /sbin/my_init - -ENV PORT 5000 -EXPOSE 5000 -ENV LAPIS_ENVIRONMENT docker - -ONBUILD ADD BoxFile /app/src/BoxFile -ONBUILD RUN cd /app/src && moonbox install -ONBUILD ADD bower.json /app/src/bower.json -ONBUILD RUN cd /app/src && bower --allow-root install -ONBUILD ADD . /app/src -ONBUILD RUN moonc /app/src -ONBUILD RUN cd /app/src/static && find -name "*.coffee" -exec coffee -c {} \; diff --git a/dev/lapis-ultimate/lapis b/dev/lapis-ultimate/lapis deleted file mode 100755 index 2e44187..0000000 --- a/dev/lapis-ultimate/lapis +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -cd /app/src - -export LAPIS_OPENRESTY=/app/openresty/nginx/sbin/nginx -source moonbox env enter - -[ -e migrations.lua ] && lapis migrate -lapis server docker diff --git a/dev/lapis-ultimate/test/.dockerignore b/dev/lapis-ultimate/test/.dockerignore deleted file mode 100644 index b73de27..0000000 --- a/dev/lapis-ultimate/test/.dockerignore +++ /dev/null @@ -1,5 +0,0 @@ -*.lua -*.js -bower_components -.git -.moonbox diff --git a/dev/lapis-ultimate/test/.gitattributes b/dev/lapis-ultimate/test/.gitattributes deleted file mode 100644 index 783d0a4..0000000 --- a/dev/lapis-ultimate/test/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -/static/css/readable.css linguist-vendored -/static/css/font-awesome.min.css linguist-vendored diff --git a/dev/lapis-ultimate/test/.gitignore b/dev/lapis-ultimate/test/.gitignore deleted file mode 100644 index b73de27..0000000 --- a/dev/lapis-ultimate/test/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.lua -*.js -bower_components -.git -.moonbox diff --git a/dev/lapis-ultimate/test/BoxFile b/dev/lapis-ultimate/test/BoxFile deleted file mode 100644 index a5f0490..0000000 --- a/dev/lapis-ultimate/test/BoxFile +++ /dev/null @@ -1,2 +0,0 @@ -lapis -dkjson diff --git a/dev/lapis-ultimate/test/Dockerfile b/dev/lapis-ultimate/test/Dockerfile deleted file mode 100644 index 0745595..0000000 --- a/dev/lapis-ultimate/test/Dockerfile +++ /dev/null @@ -1 +0,0 @@ -FROM xena/lapis-ultimate diff --git a/dev/lapis-ultimate/test/app.moon b/dev/lapis-ultimate/test/app.moon deleted file mode 100644 index a94994f..0000000 --- a/dev/lapis-ultimate/test/app.moon +++ /dev/null @@ -1,10 +0,0 @@ -lapis = require "lapis" - -class extends lapis.Application - layout: require "layout.bootstrap" - - [index: "/"]: => - render: true - - handle_404: => - status: 404, render: "notfound" diff --git a/dev/lapis-ultimate/test/bower.json b/dev/lapis-ultimate/test/bower.json deleted file mode 100644 index d49458a..0000000 --- a/dev/lapis-ultimate/test/bower.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "test", - "version": "0.0.0", - "homepage": "https://github.com/Xe/dockerfiles", - "authors": [ - "Christine Dodrill " - ], - "description": "My Test app", - "license": "Zlib", - "private": true, - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ], - "dependencies": { - "bootstrap": "~3.3.2", - "fontawesome": "~4.3.0", - "instantclick": "~3.1.0" - } -} diff --git a/dev/lapis-ultimate/test/config.moon b/dev/lapis-ultimate/test/config.moon deleted file mode 100644 index 8852548..0000000 --- a/dev/lapis-ultimate/test/config.moon +++ /dev/null @@ -1,7 +0,0 @@ -config = require "lapis.config" -config "development", -> - port 8080 - -config "docker", -> - port os.getenv "PORT" - postgresql_url os.getenv "DATABASE_URL" diff --git a/dev/lapis-ultimate/test/layout/bootstrap.moon b/dev/lapis-ultimate/test/layout/bootstrap.moon deleted file mode 100644 index f4e85cd..0000000 --- a/dev/lapis-ultimate/test/layout/bootstrap.moon +++ /dev/null @@ -1,80 +0,0 @@ -import Widget from require "lapis.html" - -class Layout extends Widget - head: => - meta charset: "UTF-8" - - title -> - if @title - text "#{@title} - My Awesome Site" - else - text "My Awesome Site" - - if @meta_description - meta property: "og:description", content: @meta_description - meta name: "description", content: @meta_description - - link rel: "stylesheet", href: "/static/comp/bootstrap/dist/css/bootstrap.min.css" - link rel: "stylesheet", href: "/static/comp/bootstrap/dist/css/bootstrap-theme.min.css" - link rel: "stylesheet", href: "/static/comp/fontawesome/css/font-awesome.min.css" - link rel: "stylesheet", href: "/static/css/main.css" - - link type: "text/plain", rel: "author", href: "/humans.txt" - - script src: "/static/comp/jquery/dist/jquery.min.js" - script src: "/static/comp/bootstrap/dist/js/bootstrap.min.js" - script src: "/static/comp/instantclick/instantclick.js" - - header: => - nav class: "navbar navbar-fixed-top", -> - div class: "container", -> - div class: "navbar-header", -> - button type: "button", class: "navbar-toggle collapsed", ["data-toggle"]: "collapse", ["data-target"]: "#navbar", ["aria-expanded"]: "false", ["aria-controls"]: "navbar", -> - span class: "sr-only", -> - text "Toggle navigation" - - for i=1,3 - span class: "icon-bar" - - a class: "navbar-brand", href: "/", -> - text "My Awesome Site" - - div id: "navbar", class: "collapse navbar-collapse", -> - ul class: "nav navbar-nav", -> - li -> - a href: "#", "Link 1" - li -> - a href: "#", "Link 2" - - ul class: "nav navbar-nav navbar-right", -> - li -> - a href: "#", "Contact" - - footer: => - footer -> - div class: "container footer", -> - center -> - p class: "text-muted", -> - text "Copyright - #{os.date "%Y"}" - - if os.getenv "GIT_REV" - text " - revision " - code "#{os.getenv("GIT_REV")\sub 1,8}" - - body: => - div class: "container", -> - if @flash - div class: "flash", -> - text @flash - - @content_for "inner" - - content: => - html_5 -> - head -> - @head! - - body -> - @header! - @body! - @footer! diff --git a/dev/lapis-ultimate/test/mime.types b/dev/lapis-ultimate/test/mime.types deleted file mode 100644 index 5d132eb..0000000 --- a/dev/lapis-ultimate/test/mime.types +++ /dev/null @@ -1,79 +0,0 @@ -types { - text/html html htm shtml; - text/css css; - text/xml xml; - image/gif gif; - image/jpeg jpeg jpg; - application/x-javascript js; - application/atom+xml atom; - application/rss+xml rss; - - text/mathml mml; - text/plain txt; - text/vnd.sun.j2me.app-descriptor jad; - text/vnd.wap.wml wml; - text/x-component htc; - - image/png png; - image/tiff tif tiff; - image/vnd.wap.wbmp wbmp; - image/x-icon ico; - image/x-jng jng; - image/x-ms-bmp bmp; - image/svg+xml svg svgz; - image/webp webp; - - application/java-archive jar war ear; - application/mac-binhex40 hqx; - application/msword doc; - application/pdf pdf; - application/postscript ps eps ai; - application/rtf rtf; - application/vnd.ms-excel xls; - application/vnd.ms-powerpoint ppt; - application/vnd.wap.wmlc wmlc; - application/vnd.google-earth.kml+xml kml; - application/vnd.google-earth.kmz kmz; - application/x-7z-compressed 7z; - application/x-cocoa cco; - application/x-java-archive-diff jardiff; - application/x-java-jnlp-file jnlp; - application/x-makeself run; - application/x-perl pl pm; - application/x-pilot prc pdb; - application/x-rar-compressed rar; - application/x-redhat-package-manager rpm; - application/x-sea sea; - application/x-shockwave-flash swf; - application/x-stuffit sit; - application/x-tcl tcl tk; - application/x-x509-ca-cert der pem crt; - application/x-xpinstall xpi; - application/xhtml+xml xhtml; - application/zip zip; - - application/octet-stream bin exe dll; - application/octet-stream deb; - application/octet-stream dmg; - application/octet-stream eot; - application/octet-stream iso img; - application/octet-stream msi msp msm; - - audio/midi mid midi kar; - audio/mpeg mp3; - audio/ogg ogg; - audio/x-m4a m4a; - audio/x-realaudio ra; - - video/3gpp 3gpp 3gp; - video/mp4 mp4; - video/mpeg mpeg mpg; - video/quicktime mov; - video/webm webm; - video/x-flv flv; - video/x-m4v m4v; - video/x-mng mng; - video/x-ms-asf asx asf; - video/x-ms-wmv wmv; - video/x-msvideo avi; -} diff --git a/dev/lapis-ultimate/test/nginx.conf b/dev/lapis-ultimate/test/nginx.conf deleted file mode 100644 index 2a856e7..0000000 --- a/dev/lapis-ultimate/test/nginx.conf +++ /dev/null @@ -1,74 +0,0 @@ -worker_processes ${{NUM_WORKERS}}; -error_log stderr notice; -daemon off; - -env PORT; -env GIT_REV; - -events { - worker_connections 1024; -} - -http { - include mime.types; - - server { - listen ${{PORT}}; - lua_code_cache ${{CODE_CACHE}}; - - location / { - set $_url ""; - default_type text/html; - content_by_lua ' - require("lapis").serve("app") - '; - } - - location /static/ { - alias static/; - } - - location /static/comp/ { - alias bower_components/; - } - - location /favicon.ico { - alias static/favicon.ico; - } - - location /humans.txt { - alias static/humans.txt; - } - - location /keybase.txt { - alias static/keybase.txt; - } - - location /capture { - internal; - resolver 8.8.8.8; - set_unescape_uri $clean_url $arg_url; - proxy_pass $clean_url; - } - - location /proxy { - internal; - rewrite_by_lua " - local req = ngx.req - for k,v in pairs(req.get_headers()) do - if k ~= 'content-length' then - req.clear_header(k) - end - end - if ngx.ctx.headers then - for k,v in pairs(ngx.ctx.headers) do - req.set_header(k, v) - end - end - "; - resolver 8.8.8.8; - proxy_http_version 1.1; - proxy_pass $_url; - } - } -} diff --git a/dev/lapis-ultimate/test/static/css/main.css b/dev/lapis-ultimate/test/static/css/main.css deleted file mode 100644 index 8e8420b..0000000 --- a/dev/lapis-ultimate/test/static/css/main.css +++ /dev/null @@ -1,54 +0,0 @@ -body { - padding-top: 60px; - background: #FFF9FD; - margin-bottom: 60px; -} - -.container { - max-width 600px; - padding: 0 15px; -} - -.container .text-muted { - margin: 20px 0; -} - -html { - position: relative; - min-height: 100%; -} - -.flash { - background: #cee5F5; - padding: 0.5em; - border: 1px solid #aacbe2; -} -.error { - background: #f0d6d6; - padding: 0.5em; -} - -table { - align: center; - border-width: 1px; - border-spacing: 2px; - border-style: outset; - border-color: gray; - border-collapse: collapse; - background-color: white; -} -table td { - border-width: 1px; - padding: 4px; - border-style: inset; - border-color: gray; - background-color: white; -} - -.footer { - position: absolute; - bottom: 0; - width: 100%; - /* Set the fixed height of the footer here */ - height: 60px; -} diff --git a/dev/lapis-ultimate/test/static/favicon.ico b/dev/lapis-ultimate/test/static/favicon.ico deleted file mode 100644 index 2e2c446..0000000 Binary files a/dev/lapis-ultimate/test/static/favicon.ico and /dev/null differ diff --git a/dev/lapis-ultimate/test/static/js/main.coffee b/dev/lapis-ultimate/test/static/js/main.coffee deleted file mode 100644 index 705cfd9..0000000 --- a/dev/lapis-ultimate/test/static/js/main.coffee +++ /dev/null @@ -1,2 +0,0 @@ -f = (x) -> - alert x diff --git a/dev/lapis-ultimate/test/views/index.moon b/dev/lapis-ultimate/test/views/index.moon deleted file mode 100644 index 0d3b79a..0000000 --- a/dev/lapis-ultimate/test/views/index.moon +++ /dev/null @@ -1,8 +0,0 @@ -import Widget from require "lapis.html" - -class Index extends Widget - content: => - center -> - h1 "My Awesome Site" - - p class: "lead", "Check out this awesomeness :D" diff --git a/dev/lapis-ultimate/test/views/notfound.moon b/dev/lapis-ultimate/test/views/notfound.moon deleted file mode 100644 index 8e6a5ab..0000000 --- a/dev/lapis-ultimate/test/views/notfound.moon +++ /dev/null @@ -1,10 +0,0 @@ -import Widget from require "lapis.html" - -class UserInfo extends Widget - content: => - center -> - h1 "Oops!" - - p "Page not found!" - - img src: "/static/img/404.png" diff --git a/dev/moonscript/Dockerfile b/dev/moonscript/Dockerfile deleted file mode 100644 index b6db9e5..0000000 --- a/dev/moonscript/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM xena/base - -RUN apt-get update && apt-get upgrade -y && \ - apt-get install --assume-yes liblua5.1-dev lua5.1 luajit luarocks \ - build-essential make git mercurial wget curl - -RUN luarocks install --server=http://rocks.moonscript.org moonrocks -RUN moonrocks install moonscript diff --git a/dev/rust/Dockerfile b/dev/rust/Dockerfile deleted file mode 100644 index 188f9f1..0000000 --- a/dev/rust/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM docker.io/xena/dotfiles - -ENV SHELL /bin/bash -RUN curl -s https://static.rust-lang.org/rustup.sh | sh diff --git a/dev/tup/99-tup.list b/dev/tup/99-tup.list deleted file mode 100644 index ec895ae..0000000 --- a/dev/tup/99-tup.list +++ /dev/null @@ -1,2 +0,0 @@ -deb http://ppa.launchpad.net/titanous/tup/ubuntu trusty main -deb-src http://ppa.launchpad.net/titanous/tup/ubuntu trusty main diff --git a/dev/tup/Dockerfile b/dev/tup/Dockerfile deleted file mode 100644 index 1b7831e..0000000 --- a/dev/tup/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM alpine - -RUN apk update && apk add alpine-sdk fuse-dev - -RUN mkdir /usr/src - -RUN cd /usr/src &&\ - git clone git://github.com/gittup/tup.git &&\ - cd tup &&\ - ./bootstrap.sh &&\ - cp tup /usr/local/bin/tup diff --git a/devops/consul/Dockerfile b/devops/consul/Dockerfile deleted file mode 100644 index 800637d..0000000 --- a/devops/consul/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM alpine:edge - -ENV CONSUL_VERSION v0.6.4 - -RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ - apk update; apk upgrade && \ - apk add curl make git go gcc musl-dev openssl-dev && \ - mkdir /go && \ - export GOPATH=/go && \ - go get -u -tags ${CONSUL_VERSION} github.com/hashicorp/consul && \ - echo "consul built" && \ - mv /go/bin/* /usr/local/bin && \ - rm -rf /go && \ - apk del make git go gcc musl-dev openssl-dev && \ - rm -rf /var/cache/apk/* - -CMD /usr/local/bin/consul diff --git a/devops/nomad/Dockerfile b/devops/nomad/Dockerfile deleted file mode 100644 index 48ad9f3..0000000 --- a/devops/nomad/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM alpine:edge - -ENV NOMAD_VERSION v0.3.1 - -RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ - apk update; apk upgrade && \ - apk add curl make git go gcc musl-dev openssl-dev && \ - mkdir /go && \ - export GOPATH=/go && \ - go get -u -tags ${NOMAD_VERSION} github.com/hashicorp/nomad && \ - echo "nomad built" && \ - mv /go/bin/* /usr/local/bin && \ - rm -rf /go && \ - apk del make git go gcc musl-dev openssl-dev && \ - rm -rf /var/cache/apk/* - -CMD /usr/local/bin/nomad diff --git a/devops/serf/Dockerfile b/devops/serf/Dockerfile deleted file mode 100644 index 9dd4208..0000000 --- a/devops/serf/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM alpine:edge - -ENV SERF_VERSION v0.7.0 - -RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ - apk update; apk upgrade && \ - apk add curl make git go gcc musl-dev openssl-dev && \ - mkdir /go && \ - export GOPATH=/go && \ - go get -u -tags ${SERF_VERSION} github.com/hashicorp/serf && \ - echo "serf built" && \ - mv /go/bin/* /usr/local/bin && \ - rm -rf /go && \ - apk del make git go gcc musl-dev openssl-dev && \ - rm -rf /var/cache/apk/* - -CMD /usr/local/bin/serf diff --git a/devops/terraform/Dockerfile b/devops/terraform/Dockerfile deleted file mode 100644 index 434dac5..0000000 --- a/devops/terraform/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -FROM alpine:edge - -ENV TERRAFORM_VERSION v0.6.14 - -RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ - apk update; apk upgrade && \ - apk add curl make git go gcc musl-dev openssl-dev && \ - mkdir /go && \ - export GOPATH=/go && \ - go get -u -v -tags ${TERRAFORM_VERSION} github.com/hashicorp/terraform/... && \ - go get -u -v -tags ${TERRAFORM_VERSION} github.com/hex-sh/terraform-provider-scaleway/... && \ - go get -u -v -tags ${TERRAFORM_VERSION} github.com/jonmorehouse/terraform-provisioner-ansible/... && \ - echo "terraform built" && \ - mv /go/bin/terraform* /usr/local/bin && \ - (for file in /go/bin/*; do if [[ $file != 'terraform*' ]]; then mv $file /go/bin/terraform-$(basename $file); fi; done) && \ - mv /go/bin/* /usr/local/bin && \ - rm -rf /go && \ - apk del make git go gcc musl-dev openssl-dev && \ - rm -rf /var/cache/apk/* - -CMD /usr/local/bin/terraform diff --git a/lang/nim-devel/Dockerfile b/lang/nim-devel/Dockerfile deleted file mode 100644 index 07e9bbf..0000000 --- a/lang/nim-devel/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM xena/alpine - -RUN apk add --no-cache g++ git -RUN git clone git://github.com/nim-lang/Nim.git nim&&\ - cd nim&& git clone --depth 1 git://github.com/nim-lang/csources&&\ - cd csources&& sh build.sh&& chmod +x ../bin/nim&&\ - cd /nim&& bin/nim c koch&& ./koch boot -d:release&&\ - ln -s `pwd`/bin/nim /bin/nim -RUN git clone https://github.com/nim-lang/nimble.git&&\ - cd nimble&& nim -d:release c -r src/nimble -y install&&\ - ln -s `pwd`/nimble /bin/nimble diff --git a/net/ympd/Dockerfile b/net/ympd/Dockerfile new file mode 100644 index 0000000..614c23a --- /dev/null +++ b/net/ympd/Dockerfile @@ -0,0 +1,13 @@ +FROM flitter/init + +RUN apt-get update && apt-get install cmake libmpdclient-dev git-core ca-certificates -y build-essential gcc make + +RUN git clone https://github.com/notandy/ympd /app/src && \ + cd /app/src && \ + mkdir build && cd build && \ + cmake .. -DCMAKE_INSTALL_PREFIX_PATH=/usr && make && make install + +ADD ympd /etc/service/ympd/run +CMD /sbin/my_init + +EXPOSE 8080 diff --git a/net/ympd/ympd b/net/ympd/ympd new file mode 100755 index 0000000..645c458 --- /dev/null +++ b/net/ympd/ympd @@ -0,0 +1,3 @@ +#!/bin/sh + +ympd -h $MPD_PORT_6600_TCP_ADDR diff --git a/x11-apps/firefox/Dockerfile b/x11-apps/firefox/Dockerfile deleted file mode 100644 index 4a5eb89..0000000 --- a/x11-apps/firefox/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM ubuntu:14.04 - -RUN apt-get update && apt-get install -y firefox - -# Replace 1000 with your user / group id -RUN export uid=1000 gid=1000 && \ - mkdir -p /home/developer && \ - echo "developer:x:${uid}:${gid}:Developer,,,:/home/developer:/bin/bash" >> /etc/passwd && \ - echo "developer:x:${uid}:" >> /etc/group && \ - echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \ - chmod 0440 /etc/sudoers.d/developer && \ - chown ${uid}:${gid} -R /home/developer - -USER developer -ENV HOME /home/developer -CMD /usr/bin/firefox diff --git a/x11-apps/firefox/run.sh b/x11-apps/firefox/run.sh deleted file mode 100755 index 9e5dba0..0000000 --- a/x11-apps/firefox/run.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/xena/Downloads:/home/developer/Downloads -v /home/xena/.mozilla:/home/developer/.mozilla xena/firefox diff --git a/x11-apps/hexchat/Dockerfile b/x11-apps/hexchat/Dockerfile deleted file mode 100644 index 117b747..0000000 --- a/x11-apps/hexchat/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM ubuntu:14.04 - -RUN apt-get update && apt-get install -y hexchat ca-certificates - -# Replace 1000 with your user / group id -RUN export uid=1000 gid=1000 && \ - mkdir -p /home/xena && \ - echo "xena:x:${uid}:${gid}:Developer,,,:/home/xena:/bin/bash" >> /etc/passwd && \ - echo "xena:x:${uid}:" >> /etc/group && \ - echo "xena ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/xena && \ - chmod 0440 /etc/sudoers.d/xena && \ - chown ${uid}:${gid} -R /home/xena - -USER xena -ENV HOME /home/xena -CMD /usr/bin/hexchat diff --git a/x11-apps/hexchat/run.sh b/x11-apps/hexchat/run.sh deleted file mode 100755 index fe6dbc1..0000000 --- a/x11-apps/hexchat/run.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -docker run -dit -v /home/xena --name hexchat-data xena/hexchat /bin/bash -docker run -ti -d --name hexchat -e DISPLAY=$DISPLAY --volumes-from hexchat-data -v /tmp/.X11-unix:/tmp/.X11-unix xena/hexchat