Git Product home page Git Product logo

Comments (18)

mynttt avatar mynttt commented on May 20, 2024 3

@b2un0 I did some testing with the slim jre image today and it works perfectly. I'm going to push the changes later in the evening today and then it should support both architectures. Thanks for letting me know =)

from updatetool.

b2un0 avatar b2un0 commented on May 20, 2024 1

This sadly looks to be impossible right now. I've only seen Java 7/8 base images as Java 11 is not really supported on the Pi at the moment. Maybe in the future if Java 11 releases on the Pi and this tool is still relevant it would be possible.

do you really need the JDK for this Application?
your Docker Baseimage is FROM openjdk:11 but should be FROM openjdk:11-jre or better
FROM openjdk:11-jre-slim

https://hub.docker.com/_/openjdk?name=11-jre-slim&tab=tags&page=1

Then you could build a RPI 4 arm64 Image.

from updatetool.

mynttt avatar mynttt commented on May 20, 2024 1

I completly forgot about the JRE! This should definitly not depend on the JDK - supporting ARM should be as simple as changing the FROM openjdk:11 line to FROM openjdk:11-jre-slim. I'm going to test it later with a VM and see if it works. Thanks for letting me know!

from updatetool.

b2un0 avatar b2un0 commented on May 20, 2024 1

@mynttt no, you must build a arm64v8 image by yourself and push them to the docker hub.

https://docs.docker.com/docker-for-mac/multi-arch/

from updatetool.

mynttt avatar mynttt commented on May 20, 2024 1

Multiarch image is up now! Let me know if it works on your Pi.

from updatetool.

b2un0 avatar b2un0 commented on May 20, 2024 1

nice! the image size is now 232MB, before 615MB 👍

from updatetool.

b2un0 avatar b2un0 commented on May 20, 2024 1

@mouzzampk2014 yes, yo can use the latest tag as you can see here the tag has a linux/arm64 arch.

but you need to use a 64bit Kernel on your RPI 3b+ which is still beta/tricky, read here

Otherwise @mynttt could try to switch to a older Debian Base Image and push also a linux/arm/v7 for RPI3x86 from this: FROM openjdk:11-jre-slim-stretch

https://hub.docker.com/_/openjdk?name=11-jre-slim-stretch&tab=tags&page=1

i suggest also to build the linux/386 image.

it should lock like this

2020-02-20 at 09 19

from updatetool.

mynttt avatar mynttt commented on May 20, 2024 1

If I have time tomorrow I will look into creating a legacy tag with all these unsupported architectures. Thanks for informing me about the 11-jre-slim-stretch!

from updatetool.

mynttt avatar mynttt commented on May 20, 2024

This sadly looks to be impossible right now. I've only seen Java 7/8 base images as Java 11 is not really supported on the Pi at the moment. Maybe in the future if Java 11 releases on the Pi and this tool is still relevant it would be possible.

from updatetool.

mouzzampk2014-zz avatar mouzzampk2014-zz commented on May 20, 2024

This sadly looks to be impossible right now. I've only seen Java 7/8 base images as Java 11 is not really supported on the Pi at the moment. Maybe in the future if Java 11 releases on the Pi and this tool is still relevant it would be possible.

Thank you so much for reply. I will run this on Ubuntu. Is it possible to make a docker compose? Thank you so much again for keeping everyone update in reddit. Much appreciated

from updatetool.

mynttt avatar mynttt commented on May 20, 2024

I don't know much about docker, but a docker compose appears to be a way to manage multiple containers with one command. This utility only needs one container, so I don't know how a docker compose would be helpful here. Is there anything else a compose can do?

from updatetool.

mynttt avatar mynttt commented on May 20, 2024

Closed duo to inactivity.

from updatetool.

b2un0 avatar b2un0 commented on May 20, 2024

here is a working docker-compose.yml from my personal unRAID setup

version: '2.4'

services:
    pms:
        image: plexinc/pms-docker:beta
        restart: always
        container_name: plex
        hostname: plex
        network_mode: bridge
        mem_limit: 2048MB
        environment:
            TZ: Europe/Berlin
            PLEX_UID: 99
            PLEX_GID: 100
        ports:
            - 32400:32400/tcp
            - 33400:33400/tcp # Plex WebTools
        devices:
            - /dev/dri:/dev/dri
        volumes:
            - /mnt/user/appdata/plex:/config
            - /mnt/user/multimedia:/mnt/user/multimedia
            - /mnt/user/appdata/plex/transcode:/transcode

    imdb_updater:
        image: mynttt/updatetool:latest
        restart: always
        network_mode: bridge
        container_name: plex_imdb_updater
        mem_limit: 512MB
        environment:
            TZ: Europe/Berlin
            RUN_EVERY_N_HOURS: 24
            TMDB_API_KEY: XYZ
        volumes:
            - "/mnt/user/appdata/plex/Library/Application Support/Plex Media Server:/plexdata" #quoted !
            - /mnt/user/appdata/plex_imdb_updater:/config

    tautulli:
        image: tautulli/tautulli:latest
        restart: always
        container_name: tautulli
        hostname: tautulli
        network_mode: bridge
        mem_limit: 512MB
        environment:
            TZ: Europe/Berlin
            PUID: 99
            PGID: 100
        volumes:
            - /mnt/user/appdata/tautulli:/config
            - /mnt/user/appdata/plex:/plex_logs:ro

from updatetool.

mouzzampk2014-zz avatar mouzzampk2014-zz commented on May 20, 2024

Hi, thank you so much @b2un0. Much appreciated :)

from updatetool.

mouzzampk2014-zz avatar mouzzampk2014-zz commented on May 20, 2024

Hooray thank you

from updatetool.

mouzzampk2014-zz avatar mouzzampk2014-zz commented on May 20, 2024

Thank you guys. @b2un0 shall I use your compose with latest tag? I am running raspberry pi 3b+

imdb_updater:
    image: mynttt/updatetool:latest
    restart: always
    network_mode: bridge
    container_name: plex_imdb_updater
    mem_limit: 512MB
    environment:
        TZ: Europe/London
        RUN_EVERY_N_HOURS: 24
        TMDB_API_KEY: XYZ
    volumes:
        - "/mnt/user/appdata/plex/Library/Application Support/Plex Media Server:/plexdata"
        - /mnt/user/appdata/plex_imdb_updater:/config

from updatetool.

mouzzampk2014-zz avatar mouzzampk2014-zz commented on May 20, 2024

Hi @mynttt thank you so much for that.

from updatetool.

mynttt avatar mynttt commented on May 20, 2024

There is now a 32bit tag that uses the older jre! Let me know if it runs without issues on your pi.

from updatetool.

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.