-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into HEAD
- Loading branch information
Showing
71 changed files
with
7,981 additions
and
4,070 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
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
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
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
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 |
---|---|---|
|
@@ -7,3 +7,4 @@ env/ | |
venv/ | ||
.venv/ | ||
.idea/ | ||
*.egg-info |
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
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,31 @@ | ||
# syntax=docker.io/docker/dockerfile:1.7-labs | ||
|
||
FROM ubuntu:focal | ||
|
||
# Prevent popups during install of requirements | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# App Requirements | ||
RUN apt update -qq && apt install -y -qq git build-essential gdb lcov pkg-config \ | ||
libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev \ | ||
libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \ | ||
lzma lzma-dev python3-tk tk-dev uuid-dev zlib1g-dev && rm -rf /var/lib/apt/lists/* | ||
|
||
# pyenv for guaranteed py 3.12 | ||
ENV HOME="/root" | ||
WORKDIR ${HOME} | ||
RUN apt update && apt install -y curl && rm -rf /var/lib/apt/lists/* | ||
RUN curl https://pyenv.run | bash | ||
ENV PYENV_ROOT="${HOME}/.pyenv" | ||
ENV PATH="${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}" | ||
|
||
# Ensure tkinter | ||
ENV PYTHON_CONFIGURE_OPTS "--enable-shared" | ||
|
||
# install py 3.12 | ||
ENV PYTHON_VERSION=3.12.6 | ||
RUN pyenv install --verbose ${PYTHON_VERSION} | ||
RUN pyenv global ${PYTHON_VERSION} | ||
|
||
WORKDIR /usr/src/app | ||
ENTRYPOINT ["sh", "-c", "pip install --no-cache-dir .[build] && pyinstaller ou_dedetai.spec"] |
Oops, something went wrong.