Skip to content

Commit 8956347

Browse files
committed
re-added pygments thanx to @z0lberg
1 parent 57d3762 commit 8956347

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

alpine/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:13-jdk-alpine
1+
FROM openjdk:14-jdk-alpine
22

33
# see https://github.com/docker-library/openjdk/issues/73
44
ENV LC_CTYPE en_US.UTF-8
@@ -8,18 +8,17 @@ RUN addgroup -S dtcgroup && adduser -S dtcuser -G dtcgroup
88
RUN apk update && apk add --no-cache build-base
99

1010
RUN echo "add needed tools" && \
11-
apk add --no-cache curl wget zip unzip git bash \
11+
apk add --no-cache curl wget zip unzip git bash --virtual build-dependencies build-base\
1212
git \
1313
graphviz \
1414
python \
15-
ruby \
1615
ruby-dev \
1716
py-pygments \
1817
libc6-compat \
1918
ttf-dejavu
20-
RUN gem install --no-ri --no-rdoc rdoc --no-document
21-
#RUN gem install --no-ri --no-rdoc pygments.rb
22-
RUN apk del ruby-dev
19+
RUN gem update --system --no-rdoc --no-ri
20+
RUN gem install rdoc --no-document
21+
RUN gem install pygments.rb
2322

2423
# Add pandoc
2524
# https://github.com/advancedtelematic/dockerfiles/blob/master/doctools/Dockerfile
@@ -44,6 +43,7 @@ RUN git clone --branch ng https://github.com/docToolchain/docToolchain.git
4443
umask g+w && \
4544
./gradlew tasks && \
4645
./gradlew dependencies && \
46+
./gradlew generatePDF && \
4747
chmod -R o=u $GRADLE_USER_HOME && \
4848
chmod -R g=u $GRADLE_USER_HOME && \
4949
rm -r $GRADLE_USER_HOME/daemon && \

0 commit comments

Comments
 (0)