luckyframework / lucky

A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.
https://luckyframework.org
MIT License
2.59k stars 156 forks source link

The docker image doesn't building #1732

Closed wilful closed 2 years ago

wilful commented 2 years ago

Describe the bug Source image doesn't have wget

To Reproduce

  1. Generate a Lucky project 'test'
  2. Go to test folder
  3. Run docker-compose up

Versions:

...
Done generating your Lucky project

  ▸ cd into test
  ▸ check database settings in config/database.cr
  ▸ run script/setup
  ▸ run lucky dev to start the server
...
test$ sudo docker-compose up
Creating network "web_default" with the default driver
Creating volume "web_postgres_data" with default driver
Creating volume "web_node_modules" with default driver
Creating volume "web_shards_lib" with default driver
Building lucky
Sending build context to Docker daemon  255.5kB
Step 1/10 : FROM crystallang/crystal:1.4.1
 ---> 4a1e17c6ceca
Step 2/10 : RUN wget https://deb.nodesource.com/setup_16.x -O- | bash
 ---> Running in 5e97e2fd9b82
/bin/sh: 1: wget: not found
jwoertink commented 2 years ago

@wilful did you mean to close this? If it's an actual issue, we should look at fixing it.

wilful commented 2 years ago

@wilful did you mean to close this? If it's an actual issue, we should look at fixing it.

@jwoertink Sorry, I accidentally clicked close. The problem is actual