Giter Site home page Giter Site logo

docker's Introduction

docker's People

Contributors

endrift avatar margen67 avatar rndtrash avatar thatnerdypikachu avatar wintermute avatar zerozshadow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

Cross compiled images for arm64

Hello,
I'm working on Apple Silicon and really like the idea of having dockerized build environment. Unfortunately your docker images are made for amd64 architecture. Mac can emulate x86 architecture with Rosetta and your images work that way but I've noticed compiling homebrew takes much more time. Would you be able to publish cross compiled arm64 builds? It shouldn't add too much overhead to your current workflow: https://dev.to/aws-builders/using-docker-buildx-to-create-cross-platform-docker-images-for-seamless-compatibility-4k8b

Best regards,
Maciej

devkitPPC latest misses a date tag

Latest devkitPPC Docker image (digest b8a8d3d901fc) is only available through the latest tag.
Using the latest tag means that the toolchain will move every now and then.
Could you add a date tag for it as you already do for other devkit toolchains?

Thanks

Unable to run arm-none-eabi-gdb

I'm unable to run arm-none-eabi-gdb using the devkitpro/devkitarm image. It appears there are a couple issues:

  1. /opt/devkitpro/devkitARM/bin isn't in the path

    $ docker run -it --rm -v "$PWD:/build" devkitpro/devkitarm
    
    # arm-none-eabi-gdb
    bash: arm-none-eabi-gdb: command not found
    
    # find / -name arm-none-eabi-gdb
    /opt/devkitpro/devkitARM/bin/arm-none-eabi-gdb
    
  2. Dependencies are missing:

    # /opt/devkitpro/devkitARM/bin/arm-none-eabi-gdb
    /opt/devkitpro/devkitARM/bin/arm-none-eabi-gdb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
    
    # apt install libtinfo5
    ...
    
    # /opt/devkitpro/devkitARM/bin/arm-none-eabi-gdb
    /opt/devkitpro/devkitARM/bin/arm-none-eabi-gdb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
    
    # apt -y install libpython2.7
    ...
    
    # /opt/devkitpro/devkitARM/bin/arm-none-eabi-gdb
    (gdb) 
    

Here's my one-liner workaround for anyone running into this:

docker run -it --rm -v "$PWD:/build" devkitpro/devkitarm sh -c "PATH=/opt/devkitpro/devkitARM/bin:"$PATH"; apt -y install libtinfo5 libpython2.7; arm-none-eabi-gdb"

or:

docker run -it --rm -v "$PWD:/build" devkitpro/devkitarm sh -c "PATH=/opt/devkitpro/devkitARM/bin:"$PATH"; apt -y install libtinfo5 libpython2.7; bash"

Containers on M1?

Hello hello, long time.

Appears that there isn't a linux/arm64/v8 image on Hub, and building locally barfs when /etc/mtab isn't found...

How plausible is this goal?

cmake and *.cmake files are missing from docker containers

Homebrew apps on Switch rarely use make anymore. I think it would be great to include cmake in these official containers.

Also, the switch.cmake etc. files seems to be missing. These could maybe be installed by installing the devkitpro-pkgbuild-helpers package. Or maybe I am just blind.

Update of dockerhub image

Hey :)

Could you update the devkitarm image from your dockerhub please ?
libctru went to 1.6 since the image was built.

Thanks!

libmad missing from latest devkita64 Docker image

The libmad package is missing in latest devkita64 Docker image.
Latest images use the switch-portlibs group to include libraries.
Change has been made to libmad PKGBUILD file but it seems package hasn't been rebuilt and lacks the group tag.

Could you rebuild both the package and then the Docker image?

Thanks

Cannot be run in bitbucket pipeline

I use this image to run CI in bitbucket pipeline but it fails as it cannot find target build. I use the GBA template in my project. This makefile defines build target when not in the build directory to call itself within the build directory again. Neat trick. Unfortunately a bitbucket pipeline runs in the directory /opt/atlassian/pipelines/agent/build and thus the makefile assumes it is already in the second call frame. It is not.

Why do I post it here when this is a problem of the GBA template? This is a CI/CD issue that is not easy to debug without looking further into the Makefiles which is an uneasy starter. As this is a CI/CD issue and these docker images should be used for CI/CD I think this place is right here.

What I expect? Just a hint somewhere in the getting started page or some other explanatory pages that this can be troublesome :)

Unable to execute `patch`

Hey,

I'm trying to execute the patch command for CI/CD on GitHub Actions. Apparently the command is not found and inspecting the devkitARM image shows that it's missing:
image

I've spoken with @fincs and apparently it'll require installing the patch package in toolchain-base.

devkitARM: Locale does not support Unicode characters in paths

The latest devkitARM image is failing on dkp-pacman -Syu --no-confirm.

$ docker run devkitpro/devkitarm
:: Synchronizing package databases...
downloading dkp-libs.db...
 dkp-linux is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) 3ds-bulletphysics-2.87-5  3ds-examples-20210610-1  3ds-physfs-3.0.2-3

Total Download Size:    3.55 MiB
Total Installed Size:   9.54 MiB
Net Upgrade Size:      -0.36 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
downloading 3ds-bulletphysics-2.87-5-any.pkg.tar.xz...
downloading 3ds-examples-20210610-1-any.pkg.tar.xz...
downloading 3ds-physfs-3.0.2-3-any.pkg.tar.xz...
checking package integrity...
loading package files...
error: error while reading package /opt/devkitpro/pacman/var/cache/pacman/pkg/3ds-examples-20210610-1-any.pkg.tar.xz: Pathname can't be converted from UTF-8 to current locale.
error: failed to commit transaction (libarchive error)
Errors occurred, no packages were upgraded.

CI builds for 3DS are broken in DevilutionX with the same error.
https://app.circleci.com/pipelines/github/diasurgical/devilutionX/6348/workflows/254aae36-de94-4aa3-b5ed-e7e1ddabcc52/jobs/45643

Update docker image for libnx 4.0

Libnx 4.0 came out about a week ago and it's a pretty big update, with re-factoring and all. Could it be possible to update the image?
Thank you

arm-none-eabi-gcc in Docker image suddenly no longer supports ObjC

2 days ago, the CI for ObjFW broke. I saw that the Docker image for devkitpro/devkitarm was updated, and it fails ever since with

configure: error: Objective C compiler cannot create executables

Adding a cat config.log to see the actual invocation, I see:

arm-none-eabi-gcc: error: conftest.m: Objective-C compiler not installed on this system

So it seems the cc1objc binary is missing in the Docker image now?

Could you please push a new Docker image that includes cc1objc again? Thanks.

[Suggestion] Use different source for toolchain-base container

Hello,
Small suggestion : It would be great to have a different source base for the toolchain-base container.
Currently the debian:stretch-slim is shipped with old versions of some tools (git, pyhton2, cmake)

I know that you are not supporting cmake and I perfectly understand why.
I do not want to raise another thread on this topic.

Unfortunately, since downloads.devkitpro.org is returning "403 forbidden" from Github CI,
we are no longer able to use pacman from arch container.

As far as I can see, the https://hub.docker.com/r/devkitpro/devkita64 is our best option.
On the other hand, tools available from stretch repos are pretty old (especially for continuous integration).
So It would be great to have a different base like debian buster or the latest arch container.

let me know if you have any other recommendation.
Regards,

Apt update issue on devkita64_devkitarm image

Hi there, I hope you are doing fine.

Is it possible to change the update sources for apt update?

I'm using Ubuntu 20.04 and do a pull for the Docker image from Github to compile a project but I cannot install and update the necessary tools like python3 and lz4.
It might be that this also applies to the other docker images I didn't test.

As a work around I pull the docker image, remove /etc/apt/sources.list and replace the sources.list with the information below:

deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner

Thanks in advance.

userns remapping failure

The devkitpro/devkita64:latest image has been failing for us in CircleCI since about August 1. There is a suggestion for a solution in this articel:
https://circleci.com/docs/2.0/high-uid-error/

The error we get when running the build process for DevilutionX:

Build-agent version 1.0.38841-5271c1f7 (2020-08-28T15:52:24+0000)
Docker Engine Version: 18.09.6
Kernel Version: Linux 9a5a0f427d29 4.15.0-1077-aws #81-Ubuntu SMP Wed Jun 24 16:48:15 UTC 2020 x86_64 Linux
Starting container devkitpro/devkita64:latest
  image cache not found on this host, downloading devkitpro/devkita64:latest
latest: Pulling from devkitpro/devkita64

77b12acb: Pulling fs layer 
46bc7d40: Pulling fs layer 
2ab5cd05: Pulling fs layer 
df2f57d3: Extracting [==================================================>]  256.2MB/256.2MBB

CircleCI was unable to start the container because of a userns remapping failure in Docker.

This typically means the image contains files with UID/GID values that are higher than Docker and CircleCI can use.

Checkout our docs https://circleci.com/docs/2.0/high-uid-error/ to learn how to fix this problem.
Original error: CircleCI was unable to start the container because of a userns remapping failure in Docker.

This typically means the image contains files with UID/GID values that are higher than Docker and CircleCI can use.

Checkout our docs https://circleci.com/docs/2.0/high-uid-error/ to learn how to fix this problem.
Original error: failed to register layer: Error processing tar file(exit status 1): Container ID 197609 cannot be mapped to a host ID

[devkita64] nxlink server mode partially working under Docker container

Hello.
I'm using these docker images to compile and run my homebrew on my Switch but one feature doesn't seem to work, which is nxlink in server mode.
It successfully sends the .nro to the switch but stuff like stdio redirection doesn't work, while it works as intended when running nxlink outside the container.
Tried both with docker (both on native linux (RHEL 8.5 and Fedora 35) and on Windows through WSL2) and podman (also RHEL 8.5 and Fedora 35) with no difference in outcome/behavior.
Commands used:

docker run --rm -it -v $PWD:/source devkitpro/devkita64 bash # for docker
podman run --rm -it -v $PWD:/source devkitpro/devkita64 bash # for podman

and then:

cd /source
make
nxlink -s -a <switch ip> <nro file>

I suspect this could be something to do with docker not exposing the port needed for communication switch -> pc but idk.

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.