Skip to content

Commit 62c29bb

Browse files
committed
initial commit
0 parents  commit 62c29bb

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM clojure:openjdk-8-tools-deps-1.10.1.502
2+
3+
4+
ENV DATOMIC_CLI_TOOLS=0.10.81
5+
6+
WORKDIR /tmp/download
7+
RUN curl "https://datomic-releases-1fc2183a.s3.amazonaws.com/tools/datomic-cli/datomic-cli-${DATOMIC_CLI_TOOLS}.zip" -o "datomic-cli.zip"
8+
RUN unzip -q datomic-cli.zip
9+
RUN chmod +x /tmp/download/datomic-cli/datomic*
10+
RUN mv /tmp/download/datomic-cli/datomic* /usr/local/bin/
11+
12+
RUN rm -rf /tmp/download
13+
14+
# Download deps
15+
RUN datomic || true
16+
17+
RUN mkdir -p /root/.ssh
18+
19+
ENTRYPOINT ["datomic"]

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Vouch IO Opensource
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Datomic CLI Tools on Docker
2+
3+
Run [Datomic CLI Tools](https://docs.datomic.com/cloud/operation/cli-tools.html) in a Docker container.
4+
5+
## Usage
6+
7+
Pass any arguments to the `datomic` command to the docker run command.
8+
```bash
9+
docker run vouchio/datomic-cli-tools <args>
10+
```
11+
12+
**Example: start the datomic socks proxy**
13+
14+
```bash
15+
docker run vouchio/datomic-cli-tools client access <system>
16+
```
17+
18+
Specify AWS region and credentials:
19+
20+
```bash
21+
docker run -e AWS_REGION=us-east-1 -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY \
22+
vouchio/datomic-cli-tools client access <system>
23+
```
24+
25+
## Releases
26+
27+
Releases follow the versioning from Datomic CLI Tools [Releases](https://docs.datomic.com/cloud/releases.html). In case a newer version is available open an issue or PR.
28+
29+
# License
30+
The scripts and documentation in this project are released under the [MIT License](LICENSE)
31+

0 commit comments

Comments
 (0)