We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de77c35 commit 7a459beCopy full SHA for 7a459be
Dockerfile
@@ -6,8 +6,13 @@ WORKDIR /app
6
RUN apt-get update && apt-get install -y \
7
nodejs \
8
unzip \
9
+ python2.7 \
10
&& rm -rf /var/lib/apt/lists/*
11
12
+# Link python2 and python to python2.7 because it's used by pygments.rb to load the pygments library.
13
+RUN ln -s /usr/bin/python2.7 /usr/bin/python2
14
+RUN ln -s /usr/bin/python2.7 /usr/bin/python
15
+
16
RUN gem install bundler:1.17.3
17
18
COPY Gemfile* /app/
vendor/pygments-main/pygmentize
@@ -1,4 +1,4 @@
1
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
2
3
import sys, pygments.cmdline
4
try:
0 commit comments