Skip to content

Instantly share code, notes, and snippets.

View ranjanprj's full-sized avatar

ranjanprj ranjanprj

  • Pune
View GitHub Profile
@ranjanprj
ranjanprj / Dockerfile
Created May 31, 2024 17:43 — forked from ItsWendell/Dockerfile
Postgres Dockerfile with Custom Extensions using pgxn
## Alternatives: postgres:15-alpine
ARG BASE_IMAGE=postgis/postgis:15-3.4-alpine
## Custom Alpine Postgres docker file with custom extensions
FROM ${BASE_IMAGE} as builder
# Install required dependencies
RUN apk --no-cache add \
python3 \
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:CreateInstanceProfile",
"iam:DeleteInstanceProfile",
"iam:GetRole",
"iam:GetInstanceProfile",