-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: add base image with documentation and licenses
Previously this lived in a mono repository. For the integration with GitHub Actions it now lives in a dedicated repository.
- Loading branch information
Showing
5 changed files
with
2,381 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:10-alpine | ||
|
||
LABEL name="Expo CLI for Docker" | ||
LABEL repository="https://github.com/bycedric/ci-expo" | ||
LABEL homepage="https://github.com/bycedric/ci-expo/tree/master/base" | ||
LABEL maintainer="Cedric van Putten <me+ci-expo@bycedric.com>" | ||
|
||
RUN apk add --no-cache bash git \ | ||
&& npm install --global expo-cli@2 \ | ||
&& npm cache rm --force \ | ||
&& rm -rf ~/.npm | ||
|
||
COPY LICENSE.md README.md THIRD_PARTY_NOTICE.md / | ||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
CMD ["--help"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# The MIT License (MIT) | ||
|
||
Copyright (c) 2018 Cedric van Putten <me@bycedric.com> | ||
|
||
> Permission is hereby granted, free of charge, to any person obtaining a copy | ||
> of this software and associated documentation files (the "Software"), to deal | ||
> in the Software without restriction, including without limitation the rights | ||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
> copies of the Software, and to permit persons to whom the Software is | ||
> furnished to do so, subject to the following conditions: | ||
> | ||
> The above copyright notice and this permission notice shall be included in | ||
> all copies or substantial portions of the Software. | ||
> | ||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
> THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Expo CLI for Docker | ||
|
||
A prebuilt docker image to use the [Expo CLI](https://docs.expo.io/versions/latest/workflow/expo-cli) on Docker-based environments. | ||
This image contains all necessary libraries to perform all commands of the CLI. | ||
|
||
- Based on `node:10-alpine` image | ||
- Contains globally installed `expo-cli@2` | ||
- Contains `bash` for [Metro bundler](https://facebook.github.io/metro/) | ||
- Contains `git` for NPM repository references | ||
|
||
## Usage | ||
|
||
The entry point of this image forwards to the Expo CLI itself. | ||
With this entry point you can provide any command directly to Docker. | ||
When nothing is provided, it will output the help information provided by the CLI. | ||
|
||
```bash | ||
$ docker run --rm bycedric/ci-expo | ||
$ docker run --rm bycedric/ci-expo pubish | ||
$ docker run --rm -ti bycedric/ci-expo login | ||
$ docker run --rm -ti --entrypoint sh bycedric/ci-expo | ||
``` | ||
|
||
> This image is intended to use on Docker-based CI environments, see [the Expo CI guide](https://docs.expo.io/versions/latest/guides/setting-up-continuous-integration) to get started. | ||
## License | ||
|
||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information. | ||
|
||
> This image is built on top of awesome open source libraries, see [third party licenses](THIRD_PARTY_NOTICE.md) for more information. | ||
--- --- | ||
|
||
<p align="center"> | ||
with :heart: <a href="https://bycedric.com" target="_blank">byCedric</a> | ||
</p> |
Oops, something went wrong.