Full Code of elastic/dockerfiles for AI

main 3b01a0be44c2 cached
6 files
6.4 KB
1.8k tokens
1 requests
Download .txt
Repository: elastic/dockerfiles
Branch: main
Commit: 3b01a0be44c2
Files: 6
Total size: 6.4 KB

Directory structure:
gitextract_434fm3jp/

├── .github/
│   └── workflows/
│       ├── elasticsearch.yml
│       ├── kibana.yml
│       ├── logstash.yml
│       └── pr_auto_approval.yml
├── CODEOWNERS
└── README.md

================================================
FILE CONTENTS
================================================

================================================
FILE: .github/workflows/elasticsearch.yml
================================================
name: Elasticsearch Docker Image CI

on:
  push:
  pull_request:

jobs:

  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    
    # Check if directory exists - needed because main branch doesn't contain Dockerfiles
    # (see README.md for branch model documentation)
    - name: Check if elasticsearch directory exists
      id: check_dir
      run: |
        if [ ! -d "elasticsearch" ]; then
          echo "exists=false" >> $GITHUB_OUTPUT
          echo "Directory elasticsearch does not exist, skipping build"
        else
          echo "exists=true" >> $GITHUB_OUTPUT
        fi
    
    - name: Build the Elasticsearch Docker image
      if: steps.check_dir.outputs.exists == 'true'
      run: docker build elasticsearch


================================================
FILE: .github/workflows/kibana.yml
================================================
name: Kibana Docker Image CI

on:
  push:
  pull_request:

jobs:

  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    
    # Check if directory exists - needed because main branch doesn't contain Dockerfiles
    # (see README.md for branch model documentation)
    - name: Check if kibana directory exists
      id: check_dir
      run: |
        if [ ! -d "kibana" ]; then
          echo "exists=false" >> $GITHUB_OUTPUT
          echo "Directory kibana does not exist, skipping build"
        else
          echo "exists=true" >> $GITHUB_OUTPUT
        fi
    
    - name: Build the Kibana Docker image
      if: steps.check_dir.outputs.exists == 'true'
      run: docker build kibana


================================================
FILE: .github/workflows/logstash.yml
================================================
name: Logstash Docker Image CI

on:
  push:
  pull_request:

jobs:

  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    
    # Check if directory exists - needed because main branch doesn't contain Dockerfiles
    # (see README.md for branch model documentation)
    - name: Check if logstash directory exists
      id: check_dir
      run: |
        if [ ! -d "logstash" ]; then
          echo "exists=false" >> $GITHUB_OUTPUT
          echo "Directory logstash does not exist, skipping build"
        else
          echo "exists=true" >> $GITHUB_OUTPUT
        fi
    
    - name: Build the Logstash Docker image
      if: steps.check_dir.outputs.exists == 'true'
      run: docker build logstash


================================================
FILE: .github/workflows/pr_auto_approval.yml
================================================
on:
    pull_request:
      types:
        - opened
      branches:
        - '*'

jobs:
    approve:
      name: Auto-approve docker push pr
      runs-on: ubuntu-latest
      if: |
        startsWith(github.event.pull_request.head.ref, 'docker_files_push_') &&
        github.event.pull_request.user.login == 'elastic-vault-github-plugin-prod[bot]'
      permissions:
        pull-requests: write
        contents: write

      steps:
      - name: Debug PR info
        run: |
          echo "PR Head Ref: ${{ github.event.pull_request.head.ref }}"
          echo "PR User Login: ${{ github.event.pull_request.user.login }}"
      - name: Auto Approve
        uses: hmarr/auto-approve-action@v3

================================================
FILE: CODEOWNERS
================================================
*   @elastic/release-eng

================================================
FILE: README.md
================================================
# Dockerfiles

## About this Repository

This repo is used to store the Dockerfiles which can be used to build Docker images 
for each product released in the stack. Those Dockerfiles were generated from the 
products' own repositories for which you can get the links in the sections below. 
Please note that **issues are disabled on this repo** and that all issues and PRs 
must be filed in the products' repositories.

### Branch Model

This repository follows a **release branch model**. All Dockerfiles and related code 
are stored on branches named after the minor version (e.g., `9.2` for version 9.2.x 
releases like 9.2.3). The `main` branch only contains this README and GitHub 
workflows - it does not contain any Dockerfiles.

To find the Dockerfiles for a specific version:
- Checkout the branch corresponding to the minor version (e.g., `git checkout 9.2` for 9.2.x versions)
- The repository only contains branches for versions that have already been released
- Development versions are not present in this repository

## Elasticsearch

**Elasticsearch** is a distributed, RESTful search and analytics engine capable of
solving a growing number of use cases. As the heart of the Elastic Stack, it
centrally stores your data so you can discover the expected and uncover the
unexpected.

For more information about Elasticsearch, please visit
https://www.elastic.co/products/elasticsearch.

### Where to file issues and PRs

- [Issues](https://github.com/elastic/elasticsearch/issues)
- [PRs](https://github.com/elastic/elasticsearch/pulls)

### Where to get help

- [Elasticsearch Discuss Forums](https://discuss.elastic.co/c/elasticsearch) 
- [Elasticsearch Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/index.html)

## Kibana

**Kibana** lets you visualize your Elasticsearch data and navigate the Elastic Stack, 
so you can do anything from learning why you're getting paged at 2:00 a.m. to 
understanding the impact rain might have on your quarterly numbers.

For more information about Kibana, please visit
https://www.elastic.co/products/kibana.

### Where to file issues and PRs

- [Issues](https://github.com/elastic/kibana/issues)
- [PRs](https://github.com/elastic/kibana/pulls)


### Where to get help

- [Kibana Discuss Forums](https://discuss.elastic.co/c/kibana) 
- [Kibana Documentation](https://www.elastic.co/guide/en/kibana/current/index.html)

## Logstash

**Logstash** is a server-side data processing pipeline that ingests data from a
multitude of sources simultaneously, transforms it, and then sends it to your
favorite "stash." 

For more information about Logstash, please visit
https://www.elastic.co/products/logstash.

### Where to file issues and PRs

- [Issues](https://github.com/elastic/logstash/issues)
- [PRs](https://github.com/elastic/logstash/pulls)

### Where to get help

- [Logstash Discuss Forums](https://discuss.elastic.co/c/logstash) 
- [Logstash Documentation](https://www.elastic.co/guide/en/logstash/current/index.html)

## Still need help?

You can learn more about the Elastic Community and also understand how to get more help 
visiting [Elastic Community](https://www.elastic.co/community).


This software is governed by their applicable licenses,
and includes the full set of [free
features](https://www.elastic.co/subscriptions).

View the detailed release notes
[here](https://www.elastic.co/guide/en/elasticsearch/reference/8.17/es-release-notes.html).
Download .txt
gitextract_434fm3jp/

├── .github/
│   └── workflows/
│       ├── elasticsearch.yml
│       ├── kibana.yml
│       ├── logstash.yml
│       └── pr_auto_approval.yml
├── CODEOWNERS
└── README.md
Condensed preview — 6 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (7K chars).
[
  {
    "path": ".github/workflows/elasticsearch.yml",
    "chars": 809,
    "preview": "name: Elasticsearch Docker Image CI\n\non:\n  push:\n  pull_request:\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps"
  },
  {
    "path": ".github/workflows/kibana.yml",
    "chars": 767,
    "preview": "name: Kibana Docker Image CI\n\non:\n  push:\n  pull_request:\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    -"
  },
  {
    "path": ".github/workflows/logstash.yml",
    "chars": 779,
    "preview": "name: Logstash Docker Image CI\n\non:\n  push:\n  pull_request:\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n   "
  },
  {
    "path": ".github/workflows/pr_auto_approval.yml",
    "chars": 697,
    "preview": "on:\n    pull_request:\n      types:\n        - opened\n      branches:\n        - '*'\n\njobs:\n    approve:\n      name: Auto-a"
  },
  {
    "path": "CODEOWNERS",
    "chars": 24,
    "preview": "*   @elastic/release-eng"
  },
  {
    "path": "README.md",
    "chars": 3454,
    "preview": "# Dockerfiles\n\n## About this Repository\n\nThis repo is used to store the Dockerfiles which can be used to build Docker im"
  }
]

About this extraction

This page contains the full source code of the elastic/dockerfiles GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 6 files (6.4 KB), approximately 1.8k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!