-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from chrisbouchard/feature/build-image
Start building a Docker App
- Loading branch information
Showing
6 changed files
with
116 additions
and
8 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
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
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,19 @@ | ||
# Base off the CircleCI Python image, which also has Docker installed | ||
ARG PYTHON_VERSION=3.8 | ||
FROM circleci/python:${PYTHON_VERSION}-buster | ||
|
||
ENV DOCKER_CLI_EXPERIMENTAL=enabled | ||
ARG DOCKER_APP_VERSION=0.8.0 | ||
|
||
# Install Docker App | ||
RUN export OSTYPE="$(uname | tr A-Z a-z)" && \ | ||
curl -fsSL --output "/tmp/docker-app-${OSTYPE}.tar.gz" \ | ||
"https://github.com/docker/app/releases/download/v${DOCKER_APP_VERSION}/docker-app-${OSTYPE}.tar.gz" && \ | ||
tar xf "/tmp/docker-app-${OSTYPE}.tar.gz" -C /tmp/ && \ | ||
mkdir -p ~/.docker/cli-plugins && \ | ||
cp "/tmp/docker-app-plugin-${OSTYPE}" ~/.docker/cli-plugins/docker-app | ||
|
||
# Install Poetry | ||
ARG POETRY_VERSION=1.0.5 | ||
RUN pip install --no-cache-dir poetry==${POETRY_VERSION} | ||
|
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
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,14 @@ | ||
# Version of the application | ||
version: $VERSION | ||
|
||
# Name of the application | ||
name: discord-fate-bot | ||
|
||
# A short description of the application | ||
description: Discord bot to help play the Fate role playing game | ||
|
||
# List of application maintainers with name and email for each | ||
maintainers: | ||
- name: Chris Bouchard | ||
email: chris@upliftinglemma.net | ||
|
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 @@ | ||
|