hmemcpy / haskell-hie-devcontainer Goto Github PK
View Code? Open in Web Editor NEWA DevContainer for VSCode, for installing GHC 8.6.5, HIE (Haskell IDE Engine) and the required plugins
License: MIT License
A DevContainer for VSCode, for installing GHC 8.6.5, HIE (Haskell IDE Engine) and the required plugins
License: MIT License
The command '/bin/sh -c apk update && apk add --no-cache wget coreutils ca-certificates && wget -q -O /tmp/common-setup.sh $COMMON_SCRIPT_SOURCE && if [ "$COMMON_SCRIPT_SHA" != "dev-mode" ]; then echo "$COMMON_SCRIPT_SHA /tmp/common-setup.sh" | sha256sum -c - ; fi && /bin/ash /tmp/common-setup.sh "$INSTALL_ZSH" "$USERNAME" "$USER_UID" "$USER_GID"' returned a non-zero code: 4
i don't know what the situation is.
As the title says. What's the recommended way to get this running for projects more complex than a single file? Should I install stack? Use the pre-installed nix? What's the expected workflow?
Hello,
Followed instructions in the README but it appears that I can't actually build the dockerfile :(
// snip, this goes on forever
[251577 ms] Removing intermediate container 9bf1c77e85c6
[251577 ms]
---> 811e5a1770ad
Step 8/8 : RUN apk update && apk add --no-cache wget coreutils ca-certificates && wget -q -O /tmp/common-setup.sh $COMMON_SCRIPT_SOURCE && if [ "$COMMON_SCRIPT_SHA" != "dev-mode" ]; then echo "$COMMON_SCRIPT_SHA /tmp/common-setup.sh" | sha256sum -c - ; fi && /bin/ash /tmp/common-setup.sh "$INSTALL_ZSH" "$USERNAME" "$USER_UID" "$USER_GID" && rm /tmp/common-setup.sh
[251577 ms]
[251629 ms] ---> Running in 8ccd15e86ddd
[252695 ms] /bin/sh: 1: apk: not found
[253130 ms] The command '/bin/sh -c apk update && apk add --no-cache wget coreutils ca-certificates && wget -q -O /tmp/common-setup.sh $COMMON_SCRIPT_SOURCE && if [ "$COMMON_SCRIPT_SHA" != "dev-mode" ]; then echo "$COMMON_SCRIPT_SHA /tmp/common-setup.sh" | sha256sum -c - ; fi && /bin/ash /tmp/common-setup.sh "$INSTALL_ZSH" "$USERNAME" "$USER_UID" "$USER_GID" && rm /tmp/common-setup.sh' returned a non-zero code: 127
[253140 ms] Failed: Building an image from the Dockerfile (this can take a while).
[253145 ms] Command failed: docker build -f /home/emerald/cs2006-code/P1/.devcontainer/Dockerfile -t vsc-p1-e048fe23dba30205680dc4dfdfcfd6fb /home/emerald/cs2006-code/P1/.devcontainer
Tried to get this working via the directions you posted on your blog; https://hmemcpy.com/2020/02/setting-up-a-haskell-development-environment-in-minutes-in-vscode/
It looks like the upstream container hmemcpy/hie
is ubuntu based, so apk isn't exactly present. Are you planning on moving the upstream container to alpine, or retooling this vscode devcontainer to use ubuntu? I can help either way, lmk.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.