-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76c1862
commit 4ad4c39
Showing
4 changed files
with
32 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "\$@" | ||
|
@@ -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 | ||
|
This file was deleted.
Oops, something went wrong.