Prebuilt docker images for Expo on Docker-based environments
10K+
A prebuilt docker image for Expo CLI on Docker-based environments. This image contains all necessary libraries to perform all commands of the CLI. To make sure this image stays up to date, CI is scheduled to run daily builds.
| image | node | expo | status |
|---|---|---|---|
bycedric/expo-cli:5 | lts | 5 | latest |
bycedric/expo-cli:5-alpine | lts-alpine | 5 | latest |
bycedric/expo-cli:4 | lts | 4 | outdated |
bycedric/expo-cli:4-alpine | lts-alpine | 4 | outdated |
bycedric/expo-cli:3 | 14 | 3 | outdated |
bycedric/expo-cli:3-alpine | 14-alpine | 3 | outdated |
bycedric/expo-cli:2 | 12 | 2 | outdated |
bycedric/expo-cli:2-alpine | 12-alpine | 2 | outdated |
All major versions are daily rebuilt, but upgrading to the latest version is strongly recommended.
The entry point of this image forwards to the Expo CLI.
It automatically authenticates when you define the EXPO_TOKEN environment variable.
You can also use EXPO_CLI_USERNAME and EXPO_CLI_PASSWORD to authenticate with your Expo credentials.
When these environment variables are undefined, it skips this step and forwards the command directly to Expo.
Usage of this image is relatively simple.
This image is intended to use on Docker-based CI environments, see the Expo CI guide to get started.
# run expo cli and check the cli version
$ docker run -t bycedric/expo-cli --version
$ docker run -t bycedric/expo-cli diagnostics
# or use bash to interact with the cli manually
$ docker run -ti bycedric/expo-cli bash
# perform authenticated expo commands directly
$ docker run \
--tty \
--env EXPO_TOKEN=accesstoken \
bycedric/expo-cli publish
# mount your project as volume and use the cli manually
$ docker run \
--tty \
--interactive \
--workdir /code \
--volume $PWD:/code \
--env EXPO_TOKEN=accesstoken \
bycedric/expo-cli bash
You can use this image to build a custom version of both node and expo-cli.
It accepts both NODE_VERSION and EXPO_VERSION as build arguments.
# create a node 16 and expo cli 5 image
$ docker build . \
--build-arg NODE_VERSION=16 \
--build-arg EXPO_VERSION=5 \
--tag awsomeorg/expo-cli
The MIT License (MIT). Please see License File for more information.
with ❤️ byCedric
Content type
Image
Digest
sha256:c9bdad9fa…
Size
396.2 MB
Last updated
almost 4 years ago
docker pull bycedric/expo-cli