This file contains hidden or 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
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "os" | |
| "time" | |
| "github.com/google/generative-ai-go/genai" |
This file contains hidden or 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
| FROM ubuntu:20.04 | |
| ARG input=/tmp | |
| ARG user=user | |
| ARG git_email="[email protected]" | |
| ARG git_name="Your Name" | |
| ENV HOME=/home/${user} | |
| ENV WORK=${HOME}/ai_sdk_work | |
| ENV YOCTO_WORK=${WORK}/src_setup/yocto |
This file contains hidden or 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
| # workarround for gql issue | |
| # add "httpx" on dependencies, add [tool.uv] section | |
| [project] | |
| name = "hello" | |
| version = "0.1.0" | |
| requires-python = ">=3.12" | |
| dependencies = ["dagger-io", "httpx>=0.27,<1"] | |
| [build-system] |
This file contains hidden or 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
| # 素の Ubuntu 22.04 | |
| FROM ubuntu:22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive \ | |
| TZ=Asia/Tokyo \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| # 基本ツール & 日本語フォント |
OlderNewer