Short article on how to ship a dart cli app in a docker container

This how-to explains how to ship a dart cli app in a docker container.

It includes a link to a sample app pci_file_monitor which is a file integrity monitor.

https://dcli.noojee.dev/dcli-tools-1/docker/ship-a-dcli-app-in-docker

It's a short read and a handy reference.

Feedback on improving the how-to would be appreciated.

πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/bsutto
πŸ“…︎ Nov 19 2021
🚨︎ report
With official Dart Docker containers announced with 2.13 - Here's a Dart backend tutorial from start to deployment using Alfred, Docker & Google Cloud Run ryan-knell.medium.com/bui…
πŸ‘︎ 33
πŸ’¬︎
πŸ“…︎ May 20 2021
🚨︎ report
Storage organizer/container for extra darts/accessories. Any suggestions?

There's a million of these types of things online but all with various sizes. Some seem too small, too big, etc. What do you guys use to store all your extra flights/stems/accessories/etc?

I'm looking at something like this.

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/78OC
πŸ“…︎ Jan 21 2021
🚨︎ report
New package docker_commander: easily run and integrate Docker containers with Dart, even in remote hosts.

New Dart package: docker_commander

I have just published the 1st working version of a Docker manger/handler for Dart. You can even run containers in a remote machine.

In the future I will integrate with a unit test framework.

Have fun!

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/GMP10152015
πŸ“…︎ Feb 10 2021
🚨︎ report
3D printed Nerf Storage container for darts and other ammo! PM me if anyone’s interested in buying or trading for! v.redd.it/ttil84zuz7251
πŸ‘︎ 119
πŸ’¬︎
πŸ‘€︎ u/JamesFunaro
πŸ“…︎ Jun 01 2020
🚨︎ report
Howto: add dart to any docker container.

As part of the work on the dshell package I've created an installer that installs dart and dshell from a single executable.

Even if you don't need dshell, the installer is probably the easiest way to get dart into a container.

The installer now makes it trivial to install dart into a container including getting all of the paths set up.

Under the hood the installer will use apt (if available) but if its not it will do a download from the dart archives.

The result is that adding dart to a docker container is now a no brainer.

Full documentation is here:

https://github.com/bsutton/dshell/wiki/Docker

Once installed you can either use dart2native compiler or use dshell's own compiler:

dshell compile --install <scriptname>.

The --install option adds your script to the path.

The summary is:

RUN apt-get install --no-install-recommends -y wget ca-certificates gnupg2
RUN wget https://github.com/bsutton/dshell/raw/master/bin/linux/dshell_install
RUN chmod +x dshell_install RUN ./dshell_install
ENV PATH="${PATH}:/usr/lib/dart/bin:/root/.pub-cache/bin"

# now lets compile a script.
RUN mkdir -p /build/bin
RUN mkdir -p /build/lib
COPY pubspec.yaml /build
COPY bin /build/bin/
COPY lib /build/lib/
dshell compile --install bin/&lt;your script&gt;

dshell is a library and tooling for creating cli applications using dart.

https://pub.dev/packages/dshell

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/bsutto
πŸ“…︎ Jul 15 2020
🚨︎ report
3D printed Nerf dart storage container! Thoughts? v.redd.it/tmzj26nwy7251
πŸ‘︎ 25
πŸ’¬︎
πŸ‘€︎ u/JamesFunaro
πŸ“…︎ Jun 01 2020
🚨︎ report
Recycled an old lawn dart I found into an interesting cache container. Planning to wedge it high up in a tree so it looks like it got stuck there.
πŸ‘︎ 126
πŸ’¬︎
πŸ‘€︎ u/Vette_Boi22
πŸ“…︎ May 18 2019
🚨︎ report
Help: docker container for dart unit tests

I'm the author of dshell and I'm looking to use docker to run the dshell unit tests.

https://pub.dev/packages/dshell

I was hoping that someone might already have a docker container doing something similar that they would be willing to share.

I need the container to have dart installed and be able to pull the latest dshell version from GitHub.

It would be good if it ran something similar to Ubuntu.

A windows and Mac OS version would be nice (is that even possible with docker).

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/bsutto
πŸ“…︎ Jan 15 2020
🚨︎ report
@nytimesbusiness: RT @GregoryNYC: Dart, a maker of disposable foam containers, is aggressively challenging foam bans. β€œWe don’t believe there are good, objective reasons to single out certain materials,” Dart's C.E.O. told @mcorkery5. https://t.co/zov0z2V639 @nytimesbusiness mobile.twitter.com/nytime…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/-en-
πŸ“…︎ Feb 11 2020
🚨︎ report
Put my Nerf darts into a container and they look pretty symmetrical
πŸ‘︎ 858
πŸ’¬︎
πŸ‘€︎ u/WombatBob
πŸ“…︎ Nov 22 2012
🚨︎ report
Can't deploy dart container
FROM google/dart

EXPOSE 80
ENV PORT=80

WORKDIR /app

ADD pubspec.* /app/
RUN pub get
ADD . /app
RUN pub get --offline

CMD []
ENTRYPOINT ["/usr/bin/dart", "bin/server.dart"]

I keep getting errors that the line EXPOSE 80 and ADD pubspec.* /app/ and ADD . /app are not allowed. These are needed to deploy dart apps and is the method recommended by Google. Can you please provide a working alternative.

https://hub.docker.com/r/google/dart/

As a note, this container actually deploys to openNode but it requires an exposed port of 8080 so I cannot use it since we cannot map 8080 to 80 with opeNode

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/lukepighetti
πŸ“…︎ Jan 10 2019
🚨︎ report
Another good ammo drop container. Holds 19 darts. imgur.com/AfNMrKY
πŸ‘︎ 20
πŸ’¬︎
πŸ‘€︎ u/SocksofGranduer
πŸ“…︎ Oct 14 2014
🚨︎ report
Dart Solo HC9CSC-2050 Bare 9" Sugarcane 3-compartment Take-out Container

Hey, I know to bring my own containers for leftovers when I eat at restaurants or go out to lunch, but I was caught unprepared and the restaurant gave me food in a sugarcane takeout container. Looks like it's only compostable in a "commercial facility" though. If something is BPI approved, can I still compost at home??

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/TwelveNinetyFour
πŸ“…︎ Dec 02 2016
🚨︎ report
Bought a new set of darts. It has a warning about the darts containing lead that can cause cancer. How worried should I be?

I bought a new set of darts. I'm a beginner and it's the first set of darts I bought, and I've never seen such warning on a package. I didn't realize about it before I bought the set.

My main concern is that it says it contains lead that causes cancer. I'm kind of worried, and I don't know if I should get rid of them or what can I do to prevent cancer?

I never expected some darts could cause cancer, so I hope someone more experienced with darts could help me figure out what should I do.

Here's a picture of the darts:

https://preview.redd.it/7q89mq132k481.jpg?width=3024&format=pjpg&auto=webp&s=9a6430b36f0fa578398fad6e10ed90e3d86e9af7

And here's a picture of the warning:

https://preview.redd.it/620rpo5x1k481.jpg?width=4032&format=pjpg&auto=webp&s=5ee0f7684380dbd33f7d051a48323d9ab0ed8b70

Thanks in advance.

πŸ‘︎ 7
πŸ’¬︎
πŸ“…︎ Dec 09 2021
🚨︎ report
Design phase finished! Meet β€˜Gas Snake’... A semi auto self contained mag in grip half dart blaster in a tiny package! reddit.com/gallery/kzto4e
πŸ‘︎ 605
πŸ’¬︎
πŸ‘€︎ u/NIR0DHA
πŸ“…︎ Jan 18 2021
🚨︎ report
Instant nerf pack, contains vanguard LR-1, Optic QS-4, jolt, and all the darts that you lost
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/knight_light455
πŸ“…︎ Jul 22 2021
🚨︎ report
During the cold war the CIA was experimenting on new weapons and made the heart attack gun. The gun had a dart containing a frozen poison that when injected into the bloodstream causes a heart attack. It's hard to trace during an autopsy. They could assassinate someone and leave no evidence behind.
πŸ‘︎ 564
πŸ’¬︎
πŸ‘€︎ u/vishnu6744
πŸ“…︎ Jan 08 2021
🚨︎ report
TIL about the hooded pitohui, one of the only known birds to be toxic. We all know about poison dart frogs - this bird’s feathers contain one of the most potent neurotoxins known to science – here’s their story. australiangeographic.com.…
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/endlessstringof11
πŸ“…︎ Jul 11 2020
🚨︎ report
Dart can now produce self-contained, native executables for MacOS, Windows and Linux medium.com/dartlang/dart2…
πŸ‘︎ 556
πŸ’¬︎
πŸ‘€︎ u/renatoathaydes
πŸ“…︎ Nov 05 2019
🚨︎ report
Dart can now produce self-contained, native executables for MacOS, Windows and Linux medium.com/dartlang/dart2…
πŸ‘︎ 54
πŸ’¬︎
πŸ‘€︎ u/whackri
πŸ“…︎ Jun 08 2020
🚨︎ report
Whenever someone says they are an anti-vaxxer, a ninja shots them with a dart containing the vaccines they need and then promptly vanishes
πŸ‘︎ 399
πŸ’¬︎
πŸ‘€︎ u/Nitefury07
πŸ“…︎ Feb 02 2020
🚨︎ report
Announcing Dart 2.6 with dart2native: Compile Dart to self-contained, native executables medium.com/dartlang/dart2…
πŸ‘︎ 131
πŸ’¬︎
πŸ‘€︎ u/EngineerScientist
πŸ“…︎ Nov 05 2019
🚨︎ report
When your orders from Out of Darts, Foam Blast, and Containment Crew come in on the same day! Time to build.🀘
πŸ‘︎ 112
πŸ’¬︎
πŸ‘€︎ u/DartPistolero
πŸ“…︎ Jan 14 2020
🚨︎ report
TIL that Poison Dart Frogs derive their toxicity from eating poisonous ants and termites in the wild, and that captive-bred Dart Frogs are essentially harmless, as their diets do not contain poisonous prey. en.wikipedia.org/wiki/Poi…
πŸ‘︎ 323
πŸ’¬︎
πŸ“…︎ Jun 28 2019
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.