Merged in [19863] from rjsparks@nostrum.com:
Add de-gfm to the docker setup. Fixes #3494.
- Legacy-Id: 19864
Note: SVN reference [19863] has been migrated to Git commit 877d8800ce
This commit is contained in:
commit
35d252be6c
|
@ -59,6 +59,7 @@ RUN apt-get install -qy \
|
||||||
rsync \
|
rsync \
|
||||||
rsyslog \
|
rsyslog \
|
||||||
ruby \
|
ruby \
|
||||||
|
ruby-rubygems \
|
||||||
subversion \
|
subversion \
|
||||||
unzip \
|
unzip \
|
||||||
wget \
|
wget \
|
||||||
|
@ -67,9 +68,8 @@ RUN apt-get install -qy \
|
||||||
yang-tools \
|
yang-tools \
|
||||||
zsh
|
zsh
|
||||||
|
|
||||||
# Install Kramdown (ruby)
|
# Install kramdown-rfc2629 (ruby)
|
||||||
RUN gem install kramdown && \
|
RUN gem install kramdown-rfc2629
|
||||||
gem install kramdown-parser-gfm
|
|
||||||
|
|
||||||
# Install chromedriver if supported
|
# Install chromedriver if supported
|
||||||
COPY docker/scripts/app-install-chromedriver.sh /tmp/app-install-chromedriver.sh
|
COPY docker/scripts/app-install-chromedriver.sh /tmp/app-install-chromedriver.sh
|
||||||
|
|
|
@ -59,4 +59,6 @@ SUBMIT_YANG_RFC_MODEL_DIR = 'data/developers/ietf-ftp/yang/rfcmod/'
|
||||||
# Set INTERNAL_IPS for use within Docker. See https://knasmueller.net/fix-djangos-debug-toolbar-not-showing-inside-docker
|
# Set INTERNAL_IPS for use within Docker. See https://knasmueller.net/fix-djangos-debug-toolbar-not-showing-inside-docker
|
||||||
import socket
|
import socket
|
||||||
hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
|
hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
|
||||||
INTERNAL_IPS = [".".join(ip.split(".")[:-1] + ["1"]) for ip in ips]
|
INTERNAL_IPS = [".".join(ip.split(".")[:-1] + ["1"]) for ip in ips]
|
||||||
|
|
||||||
|
DE_GFM_BINARY = '/usr/local/bin/de-gfm'
|
|
@ -80,3 +80,5 @@ SUBMIT_YANG_DRAFT_MODEL_DIR = 'data/developers/ietf-ftp/yang/draftmod/'
|
||||||
SUBMIT_YANG_INVAL_MODEL_DIR = 'data/developers/ietf-ftp/yang/invalmod/'
|
SUBMIT_YANG_INVAL_MODEL_DIR = 'data/developers/ietf-ftp/yang/invalmod/'
|
||||||
SUBMIT_YANG_IANA_MODEL_DIR = 'data/developers/ietf-ftp/yang/ianamod/'
|
SUBMIT_YANG_IANA_MODEL_DIR = 'data/developers/ietf-ftp/yang/ianamod/'
|
||||||
SUBMIT_YANG_RFC_MODEL_DIR = 'data/developers/ietf-ftp/yang/rfcmod/'
|
SUBMIT_YANG_RFC_MODEL_DIR = 'data/developers/ietf-ftp/yang/rfcmod/'
|
||||||
|
|
||||||
|
DE_GFM_BINARY = '/usr/local/bin/de-gfm'
|
||||||
|
|
Loading…
Reference in a new issue