You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm wondering if providing an official docker image with the tailwindcli is something the maintainers are interested in?
It's a really nice extra for anyone using docker during any phase of the development cycle. I personally setup docker compose with all tooling needed so I'm sure the whole team is using the correct tooling always.
It's not a big burden to maintain too, it only requires a Dockerfile, a place to store the images like https://hub.docker.com and a CI pipeline to build and push the image.
With an official tailwindcss image, people would be able to run the cli via docker like so:
docker run -v .:/app --rm tailwindlabs/tailwindcss:3.4.4 -o ./tailwindcss
Below is an example of a I setup I do locally to get an image with the CLI installed and run it via docker-compose.
Dockerfile
FROM alpine:3.19
RUN apk --no-cache add curl
RUN curl -sLo tailwindcss https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.4/tailwindcss-linux-arm64
RUN chmod +x tailwindcss
RUN mv tailwindcss /usr/bin
ENTRYPOINT ["tailwindcss"]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm wondering if providing an official docker image with the tailwindcli is something the maintainers are interested in?
It's a really nice extra for anyone using docker during any phase of the development cycle. I personally setup docker compose with all tooling needed so I'm sure the whole team is using the correct tooling always.
It's not a big burden to maintain too, it only requires a Dockerfile, a place to store the images like https://hub.docker.com and a CI pipeline to build and push the image.
With an official tailwindcss image, people would be able to run the cli via docker like so:
Below is an example of a I setup I do locally to get an image with the CLI installed and run it via docker-compose.
Dockerfile
docker-compose.yml
commands
Beta Was this translation helpful? Give feedback.
All reactions