Setting up development environments takes time. Doing this more than once is a time sink and prone to error. So how can we reduce setup complexity and quickly get to productively writing code? I’ve been looking at this problem and applying it to my own apps for AI with Google ADK and Python.Setting up development environments takes time. Doing this more than once is a time sink and prone to error. So how can we reduce setup complexity and quickly get to productively writing code? I’ve been looking at this problem and applying it to my own apps for AI with Google ADK and Python.

Stop Wasting Weeks on Dev Setup: Containers to the Rescue

2025/12/11 13:45

Setting up development environments takes time. Doing this more than once is a time sink and prone to error. So how can we reduce setup complexity and quickly get to productively writing code ?

I’ve been looking at this problem and applying it to my own apps for AI with Google ADK and Python.

We need to talk about setup

Who has never heard ‘it works on my laptop’ when apps fail in production or on another developers laptop ?

Manually building development environments can be labour intensive and error prone. I’ve seen 2 week lead times set aside for this in some places. This being a part of what was seen as ‘induction’ or ‘familiarization’ exercises.

Surely we can do better. Containers I believe are a good starting point. Investing in workflows that employ them is in my opinion, time well spent.

inftools-cn

inftools-cn is a container that is built for rapid deployments of mvk, a minimal viable kubernetes environment/ It has a built in Python tooling for some AI workflows and development using pip and uv. It also has additional tooling needed for local and remote kubernetes administration such as kubectlk3d docker cli.

Without a container, each of these tools would need to be added to our environment manually. Each in turn need maintained, updated and security scanned. This takes precious time away from development and which can be automated.

inftools-cn is built with a pipeline that uses trivy to scan for and halt deployments that have critical CVE alerts. Using tooling like this takes yet another headache away.

inftools-cn is still early in its development and will have more tooling added over time. This will make it a part of my daily workflow using kubernetes, python and agentic AI.

Getting Started

Prerequisites

The following are pre-requisites for this article’ approach to container development workflows:

  • Docker
  • VSCode
  • VSCode Extensions
  • container tools
  • dev containers
  • python language support

I chose to use VSCode as it has well supported container support through extensions from Microsoft.

ADK setup

To get started with an environment for ADK development, make a new directory for a project and add a docker compose file.

Open this folder in VSCode:

mkdir -p ~/projects/adk cd ~/projects/adk wget https://codeberg.org/headshed/inftools-cn/raw/branch/main/docker-compose.yml code .

start the container stack

Click on Run All Services, then in the container view in VSCode ( find this in the left window ), Attach visual studio code VSCode container extension makes it easy to open a development environment within a running container

This will open another VSCode instance within the container we just started.

The 2nd VSCode instance is where we will work from and the first one can be closed.

Open a new terminal in VSCode

cntrl / command + shift + `

Which opens a console in the home directory of the container:

user@6bccffe008e0:~$ pwd /home/user

In this console, a new python virtual environment can be created:

user@6bccffe008e0:~$ uv venv Using CPython 3.13.11 interpreter at: /usr/bin/python3 Creating virtual environment at: .venv Activate with: source .venv/bin/activate

As suggested, running the source command in the current shell

source .venv/bin/activate

… activates a python virtual environment in this, current, shell however to apply globally in our project in VSCode

control / command + shift + p to enter command mode

Type and select: Python: Select interpreter

Add an interpreter path of:

/home/user/.venv/bin/python

When opening subsequent shells within VSCode, the .venv environment will be applied automatically

Following the ADK docs

The Python quickstart for ADK can be followed for the most part but for its initial installation we need to use uv:

uv pip install google-adk

This sets up google-adk within the uv environment

in the same article by google, create an agent project, a new agent can be created in our new container with

adk create my_agent

I accepted the first and default options for most questions asked by the adk cli and added a valid API token from google api keys

This creates a new agent stub.

We can update the agent to tell the time in cities around the world

Testing ADK commmand line

To test our agent in the command line:

adk run my_agent

Which yields a command line session in which we can converse with the agent:

Running agent root_agent, type exit to exit. [user]: what is the time in new york, USA [root_agent]: The current time in New York, USA is 10:30 AM.

Testing ADK Using its Web Console

We can interact with our models using a rich web console environment:

adk web --port 8000

This opens the web browser app of adk that vscode will proxy for us and shows a helper to open in a browser:

We can talk to our agent now in this browser and debug environment

Why bother with development containers ?

This simple workflow could have been achieved by manually installing all of the tools that come bundled with inftools-cn.

However, this would need at least to include a recent version of python where it is not already present. Windows users may find this to be necessary outside of Windows subsystem for Linux ( WSL ), Linux and Mac users perhaps not so much.

the uv command is a simple curl command to install and we needed to add vscode plugins to run vscode within our container and initially to start the container up

We could conclude inftools-ci is over engineered, however, even these few steps, once done have to be done again and again on every new environment and each can have subtle differences.

As more tools are added, this will increase the operational load of our environment setup.

Any creature comforts we add in to our environment to give enhanced shell experience can quickly add to an array of manual steps that need to be repeated for every single laptop, workstation or virtual desktop we need to use.

Without pinned container versions, python and uv can vary across our environments and saying ‘it works on my laptop’ to someone telling us our code doesn't work in theirs is cold comfort and a bad developer experience.

As our projects become more complex, more tooling will be required and using a container with all dependencies built in aids our workflow and reduces the risk of incompatibilities being introduced and resulting in broken code for other developers.

If we run several development environments, be it just a couple of laptops or develop on a laptop to deploy to the cloud, we can experience differences in build and production environments that become critical, harmful even to our user’s experience.

The inftools-cn container has its own build pipeline that we can check to see if it is recent and up to date.

It’s pipeline is configured to block releases if critical CVE vulnerabilities are present and even gives us a software bill of materials for compliance and security checks.

The benefits of using containers for development become more evident as we add build infrastructure and pipelines that support such a container workflow.

Now, If my laptop blows up, is stolen or lost in any other kind of disaster, how do I get up and running as quickly as possible ?

Containers like inftools-ci can play a part in having our own business continuity plan.

Of course, you don’t have to use this particular container. You can build your own and inftools-ci may be used as a template to do so.

Understanding the build process for your own containers, based on the above would be the subject of another article.

If you are interested in de-mystifying the dark arts of building containers for development, stay tuned as this is planned to be a follow up article soon, or find me on socials and lets talk about what your building.

\

Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

American Bitcoin’s $5B Nasdaq Debut Puts Trump-Backed Miner in Crypto Spotlight

American Bitcoin’s $5B Nasdaq Debut Puts Trump-Backed Miner in Crypto Spotlight

The post American Bitcoin’s $5B Nasdaq Debut Puts Trump-Backed Miner in Crypto Spotlight appeared on BitcoinEthereumNews.com. Key Takeaways: American Bitcoin (ABTC) surged nearly 85% on its Nasdaq debut, briefly reaching a $5B valuation. The Trump family, alongside Hut 8 Mining, controls 98% of the newly merged crypto-mining entity. Eric Trump called Bitcoin “modern-day gold,” predicting it could reach $1 million per coin. American Bitcoin, a fast-rising crypto mining firm with strong political and institutional backing, has officially entered Wall Street. After merging with Gryphon Digital Mining, the company made its Nasdaq debut under the ticker ABTC, instantly drawing global attention to both its stock performance and its bold vision for Bitcoin’s future. Read More: Trump-Backed Crypto Firm Eyes Asia for Bold Bitcoin Expansion Nasdaq Debut: An Explosive First Day ABTC’s first day of trading proved as dramatic as expected. Shares surged almost 85% at the open, touching a peak of $14 before settling at lower levels by the close. That initial spike valued the company around $5 billion, positioning it as one of 2025’s most-watched listings. At the last session, ABTC has been trading at $7.28 per share, which is a small positive 2.97% per day. Although the price has decelerated since opening highs, analysts note that the company has been off to a strong start and early investor activity is a hard-to-find feat in a newly-launched crypto mining business. According to market watchers, the listing comes at a time of new momentum in the digital asset markets. With Bitcoin trading above $110,000 this quarter, American Bitcoin’s entry comes at a time when both institutional investors and retail traders are showing heightened interest in exposure to Bitcoin-linked equities. Ownership Structure: Trump Family and Hut 8 at the Helm Its management and ownership set up has increased the visibility of the company. The Trump family and the Canadian mining giant Hut 8 Mining jointly own 98 percent…
Share
BitcoinEthereumNews2025/09/18 01:33
CEO Sandeep Nailwal Shared Highlights About RWA on Polygon

CEO Sandeep Nailwal Shared Highlights About RWA on Polygon

The post CEO Sandeep Nailwal Shared Highlights About RWA on Polygon appeared on BitcoinEthereumNews.com. Polygon CEO Sandeep Nailwal highlighted Polygon’s lead in global bonds, Spiko US T-Bill, and Spiko Euro T-Bill. Polygon published an X post to share that its roadmap to GigaGas was still scaling. Sentiments around POL price were last seen to be bearish. Polygon CEO Sandeep Nailwal shared key pointers from the Dune and RWA.xyz report. These pertain to highlights about RWA on Polygon. Simultaneously, Polygon underlined its roadmap towards GigaGas. Sentiments around POL price were last seen fumbling under bearish emotions. Polygon CEO Sandeep Nailwal on Polygon RWA CEO Sandeep Nailwal highlighted three key points from the Dune and RWA.xyz report. The Chief Executive of Polygon maintained that Polygon PoS was hosting RWA TVL worth $1.13 billion across 269 assets plus 2,900 holders. Nailwal confirmed from the report that RWA was happening on Polygon. The Dune and https://t.co/W6WSFlHoQF report on RWA is out and it shows that RWA is happening on Polygon. Here are a few highlights: – Leading in Global Bonds: Polygon holds 62% share of tokenized global bonds (driven by Spiko’s euro MMF and Cashlink euro issues) – Spiko U.S.… — Sandeep | CEO, Polygon Foundation (※,※) (@sandeepnailwal) September 17, 2025 The X post published by Polygon CEO Sandeep Nailwal underlined that the ecosystem was leading in global bonds by holding a 62% share of tokenized global bonds. He further highlighted that Polygon was leading with Spiko US T-Bill at approximately 29% share of TVL along with Ethereum, adding that the ecosystem had more than 50% share in the number of holders. Finally, Sandeep highlighted from the report that there was a strong adoption for Spiko Euro T-Bill with 38% share of TVL. He added that 68% of returns were on Polygon across all the chains. Polygon Roadmap to GigaGas In a different update from Polygon, the community…
Share
BitcoinEthereumNews2025/09/18 01:10