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

conversion over docker #1100

Open
mvcorrea-ufc opened this issue Aug 25, 2023 · 1 comment
Open

conversion over docker #1100

mvcorrea-ufc opened this issue Aug 25, 2023 · 1 comment

Comments

@mvcorrea-ufc
Copy link

docker conversion is broken, the image is not valid (gpg keys), using a mac here

so changed first line in Dockerfile to (debian compatible distribution):

FROM bitnami/minideb:latest

then I'am able to create the image

cd tuya-convert && docker build -t tuya:latest .

then went into the container

mkdir newFolder && cd newFolder && docker run -t -i --privileged --network="host" tuya:latest /bin/bash

from the dockerfile, the files "config.sh, start, stop" are copied to the /usr/bin folder...
and the tuya-convert folder contents to /usr/bin/tuya-convert
start script just calls ./start_flash.sh inside the tuya-convert folder, so..

cd /usr/bin/tuya-convert && bash start_flash.sh

then I got an error not finding pkill, and tput :) one more dependency to add to Dockerfile

apt-get install procps ncurses-bin

then the error! does the mac doesn't support the ap mode?
I just dont understand the "nl80211 not found." same when running iw list
default if driver?
any suggestions?

root@docker-desktop:/usr/bin/tuya-convert# bash start_flash.sh
tuya-convert v2.4.5
nl80211 not found.
AP mode not supported!
Please attach a WiFi card that supports AP mode.
======================================================
Cleaning up...
No screen session found.
No screen session found.
No screen session found.
No screen session found.
Closing AP
sudo: pkill: command not found
Exiting...
@JustJarethB
Copy link

I am also running Debian and had the same issue, however I just version swapped the existing import to 0.11 and it seemed to work from there.

FROM phusion/baseimage:0.11

I had missing drivers on my laptop for the wifi card due to the Debian release which needed digging up for my wifi card to show, but not sure this is the same issue you are facing. Worth searching around your hardware if it supports AP mode. If it does, could be a driver issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants