Skip to content

Commit

Permalink
Removing lwr-nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Apr 10, 2024
1 parent 76c1862 commit 4ad4c39
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 94 deletions.
21 changes: 21 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

FROM ubuntu:jammy

ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -q -y \
openjdk-17-jdk openjfx ant maven \
dpkg-dev debhelper make \
git sox timidity curl locales iputils-ping file && \
rm -rf /var/lib/apt/lists/* && \
sed -i '/ru_RU.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen

ENV LC_ALL ru_RU.UTF-8
ENV LANG ru_RU.UTF-8
ENV LANGUAGE ru_RU.UTF-8


WORKDIR /wrk
COPY lwr-build-deb /wrk/lwr-build-deb
CMD [ "./lwr-build-deb" ]
9 changes: 9 additions & 0 deletions docker/lwr-build-deb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -e

git clone --recursive https://github.com/luwrain/parent/
#. ./parent/base/scripts/config.sh
VERSION=2.0.0.0
mv parent "luwrain-$VERSION"
tar -c "luwrain-$VERSION/" | gzip > "luwrain_$VERSION.orig.tar.gz"
cd "luwrain-$VERSION"
dpkg-buildpackage -uc -us
4 changes: 2 additions & 2 deletions scripts/lwr-dist-dpkg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mkdir -p "$DEST_DIR/bin"
cat <<EOF > "$DEST_DIR/bin/luwrain"
#!/bin/bash -e
# Runs the LUWRAIN platform
# Copyright 2022 Michael Pozhidaev <[email protected]>
# Copyright $(date +%Y) Michael Pozhidaev <[email protected]>
cd /usr/share/luwrain
exec java --module-path /usr/share/openjfx/lib --add-modules javafx.controls,javafx.web,javafx.swing -jar jar/luwrain-base.jar "\$@"
Expand All @@ -22,7 +22,7 @@ EOF
cat <<EOF > "$DEST_DIR/bin/lwr"
#!/bin/bash -e
# Runs the LUWRAIN platform blocking any output
# Copyright 2022 Michael Pozhidaev <[email protected]>
# Copyright $(date +%Y) Michael Pozhidaev <[email protected]>
exec luwrain "\$@" > /dev/null 2>&1
EOF
Expand Down
92 changes: 0 additions & 92 deletions scripts/lwr-nightly

This file was deleted.

0 comments on commit 4ad4c39

Please sign in to comment.