Rokit-cli | Docker-based workflow images

Rokit CLI

Rokit-cli is a simple docker container image used for running external roblox workflows (rojo, e.t.c.).

:whale: Docker Hub Image :whale:

What is rokit? Why is it important?

Rokit is a package manager used for installing tools like Rojo, Wally, Lune and more.

If you are not familiar with the development ecosystem outside of roblox, Leif’s Tutorial and joining the Roblox OSS discord community are good places to start.

How does rokit-cli relate to rokit?

Rokit-cli is a tool for using rokit in a “containerised environment”. This means that every time you start it up, everything will be the same. Same OS (Ubuntu 22), same empty folder, same environment variables. This lets you build a workflow that you know will function the same every time without fault. This is also know as being “deterministic”.

Is this for me?

If you aren’t doing workflows that you need to be deterministic, or you’re just running very simple scripts, this probably isn’t for you. As someone regularly in the Roblox OSS space, I recognised that there is no public docker images for running rokit, and decided to fill the gap.

If this post has piqued your interest in how you can leverage developing outside of Roblox Studio, I highly recommend watching the tutorial I mentioned, and getting involved. Roblox Studio is a great tool, but expanding beyond it allows you to use many industry-standard tools that open new doors and improve the developer experience.

6 Likes

Changes in rokit-cli 1.4

  • Added Just, a way to have project-specific “recipes” for running commands in console.
  • Upgraded the base docker image (Ubuntu 22.04 → 24.04)
2 Likes

Does this resource happen to be related to GitHub - rojo-rbx/rokit: Next-generation toolchain manager for Roblox projects · GitHub? If not you might want to reconsider your naming choices.

1 Like

Yes, it’s a container template for Rokit. That’s why it’s called rokit-cli

1 Like

That’s still quite confusing though, as RoKit itself is also a CLI application. That’s what led me to question whether if this is related to RoKit in the first place

1 Like

I feel like the explanation and topic title make it clear it’s based around a docker image. The reason the name is so is that when searching docker hub for an image to use, I found an image named “rokit” that has nothing to do with the roblox rokit toolchain manager, so having a similar name helps the scenario of others searching for rokit-related docker templates.

To make it clearer, I have edited the mention of rokit in the original post to link directly to rokit. There was also the “How does rokit-cli relate to rokit” paragraph which explains in detail that this tool is used to containerise rokit.

1 Like