Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Add Docker image/Dockerfile for easier testing/development #1268

Open
BraINstinct0 opened this issue Oct 10, 2022 · 4 comments
Open
Labels
Priority: Low Good to have but not so important Status: Available anyone wanna pick this? Type: Enhancement New feature or request

Comments

@BraINstinct0
Copy link

Since this project is still largely a WIP, build instructions seem to change, and users might report failures due to incorrect build process/environments.
Adding a dockerized version will probably reduce much inconsistency, thus more effort can be focused onto development itself.
What are your thoughts?

@BraINstinct0
Copy link
Author

BraINstinct0 commented Oct 10, 2022

한국어 요약: 개발(특히 build) 환경을 통일시켜두면, 적어도 빌드 과정에서 발생하는 변수는 배제할 수 있으니 개발 상의 이점이 있으리라 생각합니다. 이를 위해, build과정을 포함하여 도커파일로 제공하는 것이 가능한지 궁금합니다.

p.s.현재 dev branch를 빌드하고 실행하는 과정에서,

yarn run v1.22.19
$ tauri dev
     Running BeforeDevCommand (`npm run frontend:dev`)

> kiwi-talk@0.1.0 frontend:dev
> vite


  VITE v3.1.6  ready in 605 ms

  ���  Local:   http://localhost:5173/
  ���  Network: use --host to expose
       Error failed to get project out directory: failed to get cargo metadata: No such file or directory (os error 2)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

와 같이 오류가 발생하고 있습니다(Node 버전 18, Ubuntu). 해당 이슈

@JellyBrick JellyBrick added Type: Enhancement New feature or request Priority: High After critical, it should be done Status: Available anyone wanna pick this? labels Oct 11, 2022
@greenstar1151 greenstar1151 self-assigned this Oct 11, 2022
@greenstar1151 greenstar1151 added Priority: Low Good to have but not so important and removed Priority: High After critical, it should be done labels Oct 11, 2022
@greenstar1151
Copy link
Member

Relates to #1275 #1276

@refracta
Copy link

refracta commented Oct 21, 2022

yarn

npm install -g yarn
yarn
yarn dev

Rust (#1269)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

library

apt-get update && apt-get install libdbus-1-dev libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-1 -y

GUI
https://learn.microsoft.com/ko-kr/windows/wsl/tutorials/gui-apps

WSL Ubuntu 22.04.1LTS, Node v16.18.0 환경에서 빌드간 겪었던 오류를 해결한 방법들입니다.
debian 계열 Docker 환경을 조성하거나, 빌드 관련 문제를 겪고 있는 다른 분들께 도움이 되었으면 해서 남깁니다.

@RanolP
Copy link
Contributor

RanolP commented Oct 5, 2023

현재 상태에서 Dockerfile 작업이 필요해보이진 않고, 실질적으로 작업이 진행되지도 않고 있는 것 같습니다. 어싸인을 해제하고, 당분간 열어두다가 추가적인 논의가 없다면 닫도록 하겠습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Good to have but not so important Status: Available anyone wanna pick this? Type: Enhancement New feature or request
Development

No branches or pull requests

5 participants