Maks1mS / devcontainers-features

Devcontainers Features created by me
MIT License
2 stars 1 forks source link

Linux distro ubuntu not supported. #5

Open kenorb opened 7 months ago

kenorb commented 7 months ago

I'm trying to install Wine on Ubuntu with mcr.microsoft.com/devcontainers/base:jammy image, but it says it's not supported.

2024-04-19 14:34:49.325Z:  > [dev_containers_target_stage  9/11] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=wine_4,target=/tmp/build-features-src/wine_4     cp -ar /tmp/build-features-src/wine_4 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/wine_4  && cd /tmp/dev-container-features/wine_4  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/wine_4:2024-04-19 14:34:49.335Z: 
2024-04-19 14:34:49.342Z: 0.512 Feature       : Wine2024-04-19 14:34:49.355Z: 
2024-04-19 14:34:49.363Z: 0.512 Description   : Installs Wine.2024-04-19 14:34:49.371Z: 
2024-04-19 14:34:49.376Z: 0.512 Id            : ghcr.io/maks1ms/devcontainers-features/wine2024-04-19 14:34:49.381Z: 
2024-04-19 14:34:49.389Z: 0.512 Version       : 0.0.42024-04-19 14:34:49.394Z: 
2024-04-19 14:34:49.400Z: 0.513 Documentation : ********/Maks1mS/devcontainers-features/tree/main/src/wine2024-04-19 14:34:49.405Z: 
2024-04-19 14:34:49.412Z: 0.513 Options       :
0.513     VERSION="latest"
0.513 ===========================================================================
0.521 Linux distro ubuntu not supported.
0.523 ERROR: Feature "Wine" (ghcr.io/maks1ms/devcontainers-features/wine) failed to install! Look at the documentation at ********/Maks1mS/devcontainers-features/tree/main/src/wine for help troubleshooting this error.2024-04-19 14:34:49.421Z: 
------
Dockerfile.extended:60
--------------------
  59 |     
  60 | >>> RUN --mount=type=bind,from=dev_containers_feature_content_source,source=wine_4,target=/tmp/build-features-src/wine_4 \
  61 | >>>     cp -ar /tmp/build-features-src/wine_4 /tmp/dev-container-features \
  62 | >>>  && chmod -R 0755 /tmp/dev-container-features/wine_4 \
  63 | >>>  && cd /tmp/dev-container-features/wine_4 \
  64 | >>>  && chmod +x ./devcontainer-features-install.sh \
  65 | >>>  && ./devcontainer-features-install.sh \
  66 | >>>  && rm -rf /tmp/dev-container-features/wine_4
  67 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c cp -ar /tmp/build-features-src/wine_4 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/wine_4  && cd /tmp/dev-container-features/wine_4  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/wine_4" did not complete successfully: exit code: 1

How to fix it?

Maks1mS commented 7 months ago

Hi, @kenorb! Thank you for your interest in my project. I am planning to test Ubuntu shortly and see if it all works as expected, as it is based on Debian, and I expect everything to run smoothly.

Maks1mS commented 7 months ago

I've just released a new version. Please check to see if it works for you.