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

Fix docker build process and potentially add a push to Dockerhub #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fnzv
Copy link

@fnzv fnzv commented Dec 30, 2023

Hi There!
I wanted to suggest two things that could help others:

  1. Changing the debian:latest image to a fixed working version such as Ubuntu because the current Dockerfile fails with the following error:
Step 8/16 : RUN apt update &&     apt install -y       libbladerf2       libhackrf0       liblimesuite20.10-1       libncurses6       librtlsdr0       nginx &&     rm -rf /var/lib/apt/lists/*
 ---> Running in a99e48b40361

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8787 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [133 kB]
Fetched 9184 kB in 2s (4908 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package liblimesuite20.10-1
E: Couldn't find any package by glob 'liblimesuite20.10-1'
The command '/bin/sh -c apt update &&     apt install -y       libbladerf2       libhackrf0       liblimesuite20.10-1       libncurses6       librtlsdr0       nginx &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
  1. Potentially add to your repository a build process to public or even just test the build using Github Actions
    On the MR there are my Dockerhub references but can be change to just do the build if you want to do it:
   - name: Registry login 
      run: echo ${{secrets.GH_DOCKERHUB}} | docker login -u fnzv --password-stdin
    - name: Push image
      run: docker push fnzv/dump1090

Bests,

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

Successfully merging this pull request may close these issues.

1 participant