Commit 00024c45 authored by xa's avatar xa

wip

parent 0b0c5a60
Pipeline #916 passed with stage
in 1 minute and 29 seconds
......@@ -2,61 +2,57 @@ FROM alpine:latest
MAINTAINER Xavier Barbosa <clint.northwood@gmail.com>
RUN apk add --no-cache \
autoconf \
bison \
bzip2 \
bzip2-dev \
ca-certificates \
coreutils \
gcc \
gdbm-dev \
glib-dev \
libc-dev \
libffi-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
make \
ncurses-dev \
openssl \
openssl-dev \
procps \
readline-dev \
ruby \
tar \
yaml-dev \
zlib-dev
RUN apk add --no-cache libatomic readline readline-dev libxml2 libxml2-dev \
ncurses-terminfo-base ncurses-terminfo \
libxslt libxslt-dev zlib-dev zlib \
libffi-dev build-base git \
yaml yaml-dev
RUN apk add --no-cache ruby \
ruby-dev \
ruby-io-console \
ruby-irb \
ruby-json \
ruby-rake
RUN apk add --no-cache ruby-bundler
# && gem install --no-document redcarpet kramdown maruku rdiscount RedCloth liquid pygments.rb \
# && gem install --no-document sass safe_yaml \
# && gem install --no-document jekyll -v 2.5 \
# && gem install --no-document jekyll-paginate jekyll-sass-converter \
# && gem install --no-document jekyll-sitemap jekyll-feed jekyll-redirect-from \
# && rm -rf /root/src /tmp/* /usr/share/man /var/cache/apk/* \
# && apk del build-base zlib-dev ruby-dev readline-dev \
# yaml-dev libffi-dev libxml2-dev \
# && apk search --update
autoconf \
bison \
build-base git \
bzip2 \
bzip2-dev \
ca-certificates \
coreutils \
gcc \
gdbm-dev \
glib-dev \
libatomic \
libc-dev \
libffi-dev \
libxml2 \
libxml2-dev \
libxslt \
libxslt-dev \
linux-headers \
make \
ncurses-dev \
ncurses-terminfo \
ncurses-terminfo-base \
openssl \
openssl-dev \
procps \
readline \
readline-dev \
tar \
yaml \
yaml-dev \
zlib \
zlib-dev
RUN apk add --no-cache \
ruby \
ruby-bundler \
ruby-dev \
ruby-io-console \
ruby-irb \
ruby-json \
ruby-rake
ENV GEM_HOME /cache/bundler
ENV BUNDLE_PATH="$GEM_HOME" \
BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
RUN apk add --no-cache openssh-client
RUN mkdir -p /root/.ssh \
&& chmod 700 /root/.ssh \
&& touch /root/.ssh/known_hosts \
&& ssh-keyscan lab.errorist.xyz >> /root/.ssh/known_hosts
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment