Skip to content

Commit 877d880

Browse files
committed
Add de-gfm to the docker setup. Fixes ietf-tools#3494. Commit ready for merge.
- Legacy-Id: 19863
1 parent f7a9e0a commit 877d880

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

docker/app.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ RUN apt-get install -qy \
5959
rsync \
6060
rsyslog \
6161
ruby \
62+
ruby-rubygems \
6263
subversion \
6364
unzip \
6465
wget \
@@ -67,9 +68,8 @@ RUN apt-get install -qy \
6768
yang-tools \
6869
zsh
6970

70-
# Install Kramdown (ruby)
71-
RUN gem install kramdown && \
72-
gem install kramdown-parser-gfm
71+
# Install kramdown-rfc2629 (ruby)
72+
RUN gem install kramdown-rfc2629
7373

7474
# Install chromedriver if supported
7575
COPY docker/scripts/app-install-chromedriver.sh /tmp/app-install-chromedriver.sh

docker/configs/settings_local.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,6 @@
5959
# Set INTERNAL_IPS for use within Docker. See https://knasmueller.net/fix-djangos-debug-toolbar-not-showing-inside-docker
6060
import socket
6161
hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
62-
INTERNAL_IPS = [".".join(ip.split(".")[:-1] + ["1"]) for ip in ips]
62+
INTERNAL_IPS = [".".join(ip.split(".")[:-1] + ["1"]) for ip in ips]
63+
64+
DE_GFM_BINARY = '/usr/local/bin/de-gfm'

docker/configs/settings_local_sqlitetest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,5 @@ def __getitem__(self, item):
8080
SUBMIT_YANG_INVAL_MODEL_DIR = 'data/developers/ietf-ftp/yang/invalmod/'
8181
SUBMIT_YANG_IANA_MODEL_DIR = 'data/developers/ietf-ftp/yang/ianamod/'
8282
SUBMIT_YANG_RFC_MODEL_DIR = 'data/developers/ietf-ftp/yang/rfcmod/'
83+
84+
DE_GFM_BINARY = '/usr/local/bin/de-gfm'

0 commit comments

Comments
 (0)