Skip to content

Instantly share code, notes, and snippets.

View initcron's full-sized avatar

Gourav Shah initcron

View GitHub Profile
@initcron
initcron / Dockerfile
Created September 22, 2025 10:13
Dockerfile with Buildkit features
# syntax=docker/dockerfile:1
# BuildKit optimized Dockerfile with advanced caching
# Stage 1: Dependencies stage with cache mounts
FROM python:3.11-slim AS dependencies
WORKDIR /app
# Use cache mount for apt packages
RUN --mount=type=cache,target=/var/cache/apt \
@initcron
initcron / Dockerfile
Created September 22, 2025 10:11
Multi Stage Dockerfile for Tech Stack Advisor
# Multi-stage Dockerfile for Tech Stack Advisor ML App
# Stage 1: Builder stage for training the model
FROM python:3.11-slim AS builder
WORKDIR /app
# Install build dependencies
RUN apt-get update && apt-get install -y \
gcc \
@initcron
initcron / mcp.json
Created September 22, 2025 10:00
add this to .vscode/mcp.json
{
"servers": {
"mcp-gw": {
"type": "stdio",
"command": "docker",
"args": [
"mcp",
"gateway",
"run"
]
#!/bin/bash
echo "🔍 Docker AI Workshop - Environment Check"
echo "========================================"
echo "1. Docker:"
docker --version && echo "✅ Docker OK" || echo "❌ Docker FAILED"
echo "2. Docker Compose:"
docker compose version && echo "✅ Compose OK" || echo "❌ Compose FAILED"
@initcron
initcron / Dockerfile
Created September 22, 2025 02:45
Devcontainer Dockerfile
# DevContainer Dockerfile for Multi-Agent Assistant
FROM mcr.microsoft.com/vscode/devcontainers/python:3.11
# Use noninteractive apt to avoid debconf TTY issues
ENV DEBIAN_FRONTEND=noninteractive
# Install Node.js 22.x (meets engines >=22.9) via NodeSource
RUN apt-get update && \
apt-get install -y curl ca-certificates gnupg && \
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
{
"name": "Multi-Agent Assistant DevContainer",
"dockerFile": "Dockerfile",
"workspaceFolder": "/workspaces/multi-agent-assistant",
"forwardPorts": [8000, 3000],
"postCreateCommand": "pip install --upgrade pip && cd backend && pip install -r requirements.txt && cd ../frontend && npm install",
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python3.11",
@initcron
initcron / SECURITY.md
Created September 21, 2025 09:23
Security Policy for Tech Stack Advisor Project

Security Policy

Vulnerability Scanning

This project uses automated security scanning as part of our CI/CD pipeline to ensure container images are free from known vulnerabilities.

Scanning Tools

  • Trivy: Primary vulnerability scanner for container images
  • SBOM Generation: Software Bill of Materials for supply chain transparency
@initcron
initcron / gha_goose_groq.yaml
Created September 21, 2025 07:07
GHA Code with Goose based PR Review - Groq Provider
name: Goose
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
@initcron
initcron / gha_goose_gemini.yaml
Created September 21, 2025 07:06
GHA Code for Goose based PR - Google Gemini Provider
name: Goose
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
workflow_dispatch:
permissions:
contents: write
pull-requests: write
@initcron
initcron / awx.md
Last active September 15, 2025 17:56
mkdir awx-op
cd awx-op

File: kind.config