Git Product home page Git Product logo

act_base's Introduction

act custom image

act_base is a custom runner for the act project. This image contain Node, npm, yarn, docker and docker-compose. The size is about 1.61GB.

This image is an hard fork https://github.com/swuecho/act_base whose image is no longer available on the docker hub.

Download the image

docker pull lucasalt/act_base:latest

Run a job with the custom runner

act -j <name-of-the-job> -P ubuntu-latest=lucasalt/act_base:latest

PS: ubuntu-latest is the value of run_on in your workflow yml. It is possible to swith ubuntu-latest with another image name.

๐Ÿค Contributing

Before contributing to this project, make sure you have read the contribution guidelines!

  1. Fork it (https://github.com/LucasCtrl/act_base/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

๐Ÿ“ License

This project is open source and available under the unlicense license.

act_base's People

Contributors

lucasctrl avatar

act_base's Issues

Create agent base runner

Create base image for running autogpt with all the packages needed.


1. **Create a Dockerfile:**
   Create a file named `Dockerfile` in your project directory. This file will contain instructions for building the Docker image.

2. **Choose a Base Image:**
   Choose a base image that matches your project's requirements. For example, you can use a base image with your preferred operating system and Python version. Here's an example of a Dockerfile using Ubuntu as the base image with Python 3.8:

   ```Dockerfile
   # Use Ubuntu as the base image
   FROM ubuntu:20.04

   # Update the package manager and install essential packages
   RUN apt-get update && apt-get install -y \
       python3.8 \
       python3-pip \
       && rm -rf /var/lib/apt/lists/*

   # Set the default Python version
   RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1

   # Upgrade pip and install required Python packages
   RUN python3 -m pip install --upgrade pip \
       && pip install package1 package2 package3

Replace package1, package2, and package3 with the specific packages needed for AutoGPT.

  1. Build the Docker Image:
    Open a terminal, navigate to the directory containing your Dockerfile, and run the following command to build the Docker image (replace my-autogpt-image with your desired image name):

    docker build -t my-autogpt-image .
  2. Run the Docker Container:
    Once the image is built, you can run a Docker container based on that image. You can mount your AutoGPT code and data into the container using volumes:

    docker run -it --name autogpt-container -v /path/to/autogpt:/app my-autogpt-image

    Replace /path/to/autogpt with the actual path to your AutoGPT project.

Now, you have a Docker container with all the required packages and dependencies for running AutoGPT. You can start and stop the container as needed, and it provides a consistent environment for your project. Make sure to customize the Dockerfile and package installations according to your specific project requirements.```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.