Giter Club home page Giter Club logo

Comments (12)

kefor avatar kefor commented on August 22, 2024 1

The desktop-repo has only x64 packages, I could add the arm package from http://repo.mycroft.ai (built for armhf if I recall correctly) I also have a package for arm64 if that's a better fit.

If you can verify that the arm package works I can just add them to the repo.

Hi, i want to support this. How can I verify that the packages are working ?

from docker-mycroft.

forslund avatar forslund commented on August 22, 2024 1

I've now pushed armhf and arm64 mimic packages to the mycroft-desktop repo. Sorry for the delay. I'm not sure of the best way to test it however. Maybe you can manually install the package following the instructions here: https://forslund.github.io/mycroft-desktop-repo/

from docker-mycroft.

mjkaye avatar mjkaye commented on August 22, 2024 1

Just to add that the armhf mimic package also works for me. I have an armhf image over on hub.docker.com/r/mjkaye/mycroft-debian-slim. I also have an, as yet untested, arm64 image there if anyone wants to give it a try. Feedback is welcome.

from docker-mycroft.

TheLastProject avatar TheLastProject commented on August 22, 2024

Sounds like something @forslund would know more about

from docker-mycroft.

forslund avatar forslund commented on August 22, 2024

The desktop-repo has only x64 packages, I could add the arm package from http://repo.mycroft.ai (built for armhf if I recall correctly) I also have a package for arm64 if that's a better fit.

If you can verify that the arm package works I can just add them to the repo.

from docker-mycroft.

Exellent1988 avatar Exellent1988 commented on August 22, 2024

from docker-mycroft.

Exellent1988 avatar Exellent1988 commented on August 22, 2024

from docker-mycroft.

bdcarr avatar bdcarr commented on August 22, 2024

Hello, I'm trying to run this on a Pi 4b and would also like to help verify whether the arm package works. Not sure how to do that though.

from docker-mycroft.

kefor avatar kefor commented on August 22, 2024

I've now pushed armhf and arm64 mimic packages to the mycroft-desktop repo. Sorry for the delay. I'm not sure of the best way to test it however. Maybe you can manually install the package following the instructions here: https://forslund.github.io/mycroft-desktop-repo/

i could install mimic. apt list mimic shows the armhf mimic/unknown,now 1.3.0.1 armhf [installed] on a rasp 3b+

from docker-mycroft.

rohm1 avatar rohm1 commented on August 22, 2024

I wish I had seen this thread the past week :/ Anyway, there still isn't an armhf Docker image available, so I thought I would share my Dockerfile. Of course based on the one available in this repo, just compiled mimic on the PI (and removed lots of files to keep the image as small as possible).

FROM raspbian/stretch

ENV TERM linux
ENV DEBIAN_FRONTEND noninteractive

# Install Server Dependencies for Mycroft
RUN set -x \
	&& sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list \
	&& apt-get update \
	&& apt-get -y install git python3 python3-pip locales sudo \
	&& pip3 install future msm \
	# Checkout Mycroft
	&& git clone https://github.com/MycroftAI/mycroft-core.git /opt/mycroft \
	&& cd /opt/mycroft \
	&& mkdir /opt/mycroft/skills \
	# git fetch && git checkout dev && \ this branch is now merged to master
	&& CI=true /opt/mycroft/./dev_setup.sh --allow-root \
	&& mkdir /opt/mycroft/scripts/logs \
	&& touch /opt/mycroft/scripts/logs/mycroft-bus.log \
	&& touch /opt/mycroft/scripts/logs/mycroft-voice.log \
	&& touch /opt/mycroft/scripts/logs/mycroft-skills.log \
	&& touch /opt/mycroft/scripts/logs/mycroft-audio.log \
	&& apt-get -y autoremove \
	&& apt-get clean \
	&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
	&& rm -rf /opt/mycroft/.git /opt/mycroft/.github /opt/mycroft/doc /opt/mycroft/test \
	&& mv /opt/mycroft/mimic /opt/mycroft/mimic.bak \
	&& mkdir /opt/mycroft/mimic \
	&& mv /opt/mycroft/mimic.bak/bin /opt/mycroft/mimic/ \
	&& mv /opt/mycroft/mimic.bak/lib /opt/mycroft/mimic/ \
	&& mv /opt/mycroft/mimic.bak/voices /opt/mycroft/mimic/ \
	&& rm -rf /opt/mycroft/mimic.bak

# Set the locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

WORKDIR /opt/mycroft
COPY startup.sh /opt/mycroft
ENV PYTHONPATH $PYTHONPATH:/mycroft/ai

RUN echo "PATH=$PATH:/opt/mycroft/bin" >> $HOME/.bashrc \
        && echo "source /opt/mycroft/.venv/bin/activate" >> $HOME/.bashrc

RUN chmod +x /opt/mycroft/start-mycroft.sh \
	&& chmod +x /opt/mycroft/startup.sh

EXPOSE 8181

ENTRYPOINT "/opt/mycroft/startup.sh"

from docker-mycroft.

forslund avatar forslund commented on August 22, 2024

I tested the docker image with the newly uploaded mimic packages and it builds cleanly on armhf. Will test on arm64 later this week.

from docker-mycroft.

sirwolfgang avatar sirwolfgang commented on August 22, 2024

Created an updated version based off @mjkaye https://github.com/sirwolfgang/docker-mycroft/tree/pi

from docker-mycroft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.