-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:shiguredo/hisui into develop
- Loading branch information
Showing
4 changed files
with
46 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ARG UBUNTU_VERSION | ||
FROM ubuntu:$UBUNTU_VERSION | ||
LABEL maintainer="HARUYAMA Seigo <[email protected]>" | ||
|
||
WORKDIR /usr/local/bin | ||
RUN apt update \ | ||
&& apt install -y tini \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm -rf /var/cache/apt/archives/* | ||
|
||
ENV HISUI_LYRA_MODEL_COEFFS_PATH /usr/local/lib/lyra/model_coeffs | ||
ARG UBUNTU_VERSION | ||
ARG TARGETARCH | ||
COPY release/ubuntu-${UBUNTU_VERSION}_x86_64/hisui /tmp/hisui-amd64 | ||
COPY release/ubuntu-${UBUNTU_VERSION}_arm64/hisui /tmp/hisui-arm64 | ||
COPY third_party/lyra/lyra/lyra/model_coeffs /usr/local/lib/lyra/model_coeffs | ||
RUN cp /tmp/hisui-$TARGETARCH /usr/local/bin/hisui | ||
|
||
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/hisui"] |