Skip to content

Commit 3163ee4

Browse files
authored
Upgrade OneScript to 1.8.4 (#95)
* Upgrade OneScript to 1.8.4 * Remove updating of packages
1 parent a20db97 commit 3163ee4

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

epicbox-onescript/Dockerfile

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
FROM evilbeaver/onescript:1.8.3
2-
MAINTAINER Stepik Team <[email protected]>
1+
FROM debian:12.5-slim
2+
LABEL maintainer="Stepik Team <[email protected]>"
3+
4+
ENV LANG=ru_RU.UTF-8
5+
ENV ONESCRIPT_VERSION=1.8.4
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt update && \
9+
apt-get -y --no-install-recommends install \
10+
locales \
11+
tzdata \
12+
binutils \
13+
curl \
14+
mono-runtime \
15+
ca-certificates \
16+
ca-certificates-mono \
17+
mono-fastcgi-server4 && \
18+
apt-get clean && \
19+
rm -rf /var/lib/apt/lists/* /tmp/* && \
20+
sed -i '/\(en_US.UTF-8\|ru_RU.UTF-8\)/s/^# //g' /etc/locale.gen && \
21+
locale-gen
22+
23+
RUN curl https://oscript.io/downloads/lts/x64/onescript-engine_${ONESCRIPT_VERSION}_all.deb > oscript.deb && \
24+
dpkg -i oscript.deb && \
25+
rm -f oscript.deb
326

427
RUN useradd -m -d /sandbox sandbox

0 commit comments

Comments
 (0)