Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add influx-cli image #554

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

alespour
Copy link
Contributor

@alespour alespour commented Nov 24, 2021

This PR adds influx-cli image. The image is intended for CLI-based tasks like backup etc. Its size is "only" ~44 MB, compared to 226 MB of influxdb. Dockerfile content was ripped out of influxdb image.

Default command is version.

@alespour alespour marked this pull request as ready for review December 1, 2021 11:48
Copy link
Contributor

@timhallinflux timhallinflux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need a License file too. This is MIT licensed. We can grab the file from the core InfluxDB portion of this repo.

influx-cli/2.2/alpine/Dockerfile Outdated Show resolved Hide resolved
Copy link
Contributor

@timhallinflux timhallinflux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is also missing a manifest.json file.

{
  "name": "influxdb-cli",
  "maintainers": [
    "Jonathan A. Sternberg <jonathan@influxdata.com> (@jsternberg)",
    "Bucky Schwarz <bucky@influxdata.com> (@hoorayimhelping)",
    "Brandon Pfeifer  <bpfeifer@influxdata.com> (@bnpfeife)"
  ],
  "versions": ["2.2"],
  "architectures": [
    "amd64",
    "arm32v7",
    "arm64v8"
  ],
  "variants": [
    {"name": "alpine"}
  ]
}

influx-cli/LICENSE Outdated Show resolved Hide resolved
Copy link

@samhld samhld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants