Skip to content

Commit

Permalink
Upgrade OneScript to 1.8.4 (#95)
Browse files Browse the repository at this point in the history
* Upgrade OneScript to 1.8.4

* Remove updating of packages
  • Loading branch information
sergeybe2 authored Mar 28, 2024
1 parent a20db97 commit 3163ee4
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions epicbox-onescript/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
FROM evilbeaver/onescript:1.8.3
MAINTAINER Stepik Team <[email protected]>
FROM debian:12.5-slim
LABEL maintainer="Stepik Team <[email protected]>"

ENV LANG=ru_RU.UTF-8
ENV ONESCRIPT_VERSION=1.8.4
ENV DEBIAN_FRONTEND=noninteractive

RUN apt update && \
apt-get -y --no-install-recommends install \
locales \
tzdata \
binutils \
curl \
mono-runtime \
ca-certificates \
ca-certificates-mono \
mono-fastcgi-server4 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* && \
sed -i '/\(en_US.UTF-8\|ru_RU.UTF-8\)/s/^# //g' /etc/locale.gen && \
locale-gen

RUN curl https://oscript.io/downloads/lts/x64/onescript-engine_${ONESCRIPT_VERSION}_all.deb > oscript.deb && \
dpkg -i oscript.deb && \
rm -f oscript.deb

RUN useradd -m -d /sandbox sandbox

0 comments on commit 3163ee4

Please sign in to comment.