mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
added postgres dockerfile
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name: Build OASST Postgres image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- docker/Dockerfile.postgres
|
||||
|
||||
jobs:
|
||||
build-postgres:
|
||||
uses: ./.github/workflows/docker-build.yaml
|
||||
with:
|
||||
image-name: oasst-postgres
|
||||
context: ./docker/
|
||||
dockerfile: docker/Dockerfile.postgres
|
||||
build-args: ""
|
||||
@@ -0,0 +1,9 @@
|
||||
FROM postgres
|
||||
|
||||
# install unzip
|
||||
RUN apt-get update && apt-get install -y unzip curl && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# download aws cli
|
||||
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
||||
RUN unzip awscliv2.zip
|
||||
RUN ./aws/install
|
||||
Reference in New Issue
Block a user