Comments (4)
Thanks for raising this, you're right that this issue is caused by ARM. I will work on this tomorrow, and get an ARM-compatible image released onto Docker Hub. Will update you on this issue once it's done :)
from dashy.
Thank you for all the effort on trying to get this to work. Simply using the arm32v7 version of alpine as you mentioned seems to work on the Rpi 4 (it's a bit slow building the image of course ;) ).
I have experience with Docker but no experience with Docker Hub. There is an explanation here with a template Dockerfile on how to use QEMU to build ARM images on Docker Hub like you mentioned.
I will try myself to get it to work. If that works, I will create a PR.
from dashy.
Thanks again @evroon for providing the ARM-based Docker image
I'm super happy that it's finally working, and I hope it runs okay on your Pi :)
docker pull lissy93/dashy:arm64v8
from dashy.
So with the below Dockerfile, replacing the base image from alpine:3.14
to arm32v7/alpine:3.14
should work, except DockerHub throws an error (I guess because it's building the container on amd64
)
LinuxServer.io seems to support multiple architectures with manifested docker images using buildkit, but got no idea how they're building those images - the Docker docs on enabling BuildKit only covers local containers - I couldn't find a way to do this with DockerHub
I've seen other images using QEMU to emulate the build process on DockerHub, but again, haven't been able to find much info on how to actually do this. I'm thinking that maybe I need a GH action to build the image, and then publish it on DockerHub
@EVOTk or anyone, any ideas on how to approach this? I'm still a bit of a noob at Dockerizing apps, this was the first one I had done.
Dashy's Standard Dockerfile:
# Use stsnadard light-weight Alpine container as base
FROM alpine:3.14
# Install Node and Yarn
RUN apk add --update --no-cache nodejs npm yarn
# Define some Env Vars
ENV PORT 80
ENV DIRECTORY /app
ENV IS_DOCKER true
# Create and set the working directory
WORKDIR ${DIRECTORY}
# Copy over the 'package.json' and 'yarn.lock'
COPY package.json ./
COPY yarn.lock ./
# Install dependencies
RUN yarn
# Copy over all source code
COPY . .
# Build Dashy for production
RUN yarn build
# Expose the port
EXPOSE ${PORT}
# Finally, build the app and start the server
CMD [ "yarn", "build-and-start"]
# Run simple healthchecks every 5 mins, to check that everything's running smoothly
HEALTHCHECK --interval=5m --timeout=2s --start-period=30s CMD yarn health-check
Error caused by using `FROM arm32v7/alpine:3.14` on DockerHub
error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c apk add --update --no-cache nodejs npm yarn]: exit code: 1
Build failed using Buildkit
from dashy.
Related Issues (20)
- [BUG] <title>MVG Connections always shows the connection between Marienplatz and Giesing no matter how the config file is modified. HOT 2
- Hi, I'm new here and I could really use some help HOT 1
- [QUESTION] how to get widgets working when using nginxproxymanager HOT 12
- [FEATURE_REQUEST] Add a startpage view optimized to reduce load time HOT 2
- 导航图标标题 HOT 1
- [FEATURE_REQUEST] widget for uptime-kuma HOT 2
- [FEATURE_REQUEST] healthchecks continues checking HOT 1
- How to change --content-max-width HOT 6
- deployed on vercel HOT 10
- [QUESTION] Serve assets only to logged in users HOT 3
- [FEATURE_REQUEST] Unify weather and weather forecast widgets HOT 5
- [QUESTION] Custom HTML? HOT 16
- All tickets related to dashy not rebuilding automatically HOT 1
- [SHOWCASE] MNDashboard HOT 4
- [BUG] Dashy crashlooping after last upgrade to 2.1.2 HOT 13
- [QUESTION] Build from Source not working anymore 2.1.2? HOT 3
- [BUG] Authentication settings cannot be saved to a configuration file HOT 2
- [BUG] Build Failed Vercel HOT 6
- [BUG] Dashy v2.1.2 consuming all assigned resources after changing config (either via GUI or direct conf.yml change) HOT 13
- [QUESTION] Alpine 3.15 LXC unmet peer dependency warnings? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashy.