Sign inSign up

bycedric/expo-cli

By bycedric

Updated almost 4 years ago

Prebuilt docker images for Expo on Docker-based environments

Image
5

10K+

bycedric/expo-cli repository overview

Expo for Docker

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.

Supported versions

imagenodeexpostatus
bycedric/expo-cli:5lts5latest
bycedric/expo-cli:5-alpinelts-alpine5latest
bycedric/expo-cli:4lts4outdated
bycedric/expo-cli:4-alpinelts-alpine4outdated
bycedric/expo-cli:3143outdated
bycedric/expo-cli:3-alpine14-alpine3outdated
bycedric/expo-cli:2122outdated
bycedric/expo-cli:2-alpine12-alpine2outdated

All major versions are daily rebuilt, but upgrading to the latest version is strongly recommended.

What's inside?

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.

How to use it?

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

Build your version

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

License

The MIT License (MIT). Please see License File for more information.


with ❤️  byCedric

Tag summary

Content type

Image

Digest

sha256:c9bdad9fa

Size

396.2 MB

Last updated

almost 4 years ago

docker pull bycedric/expo-cli