Skip to content

Commit

Permalink
refactor: Switch parse images do netrecon (#96)
Browse files Browse the repository at this point in the history
* Switch docker files

* Update build.yml

* Update build-dashboard.yml

* Update release.yml

* Update release-dashboard.yml

* Update Dockerfile
  • Loading branch information
cbaker6 authored Jan 21, 2024
1 parent ea87809 commit 016ed4a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: read
packages: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
tags: [ '*.*.*', '*.*.*-*' ]

env:
LATEST: '6.3.0'
LATEST: '6.4.0'
REGISTRY: docker.io
IMAGE_NAME: ${{ github.repository }}

Expand All @@ -15,7 +15,7 @@ concurrency:

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: read
packages: write
Expand Down
10 changes: 5 additions & 5 deletions parse/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
############################################################
# Build stage
############################################################
FROM parseplatform/parse-server:latest AS build
FROM netreconlab/parse-server:latest AS build

# Setup directories
COPY ./scripts/ ./scripts/

# Install necessary dependencies as root
USER root
RUN apk --no-cache add git \
&& npm install --omit=dev netreconlab/parse-server-carekit#main parse-server-any-analytics-adapter@^1.x.x @analytics/google-analytics@^1.x.x @analytics/segment@^1.x.x \
&& npm install --omit=dev @parse/s3-files-adapter@^2.x.x parse-server-api-mail-adapter@^3.x.x mailgun.js@^8.x.x \
&& npm install --omit=dev clamscan@^2.x.x newrelic@^10.x.x \
&& npm install --omit=dev netreconlab/parse-server-carekit#main parse-server-any-analytics-adapter@^1.x.x @analytics/google-analytics@^1.x.x @analytics/segment@^2.x.x \
&& npm install --omit=dev @parse/s3-files-adapter@^2.x.x parse-server-api-mail-adapter@^3.x.x mailgun.js@^10.x.x \
&& npm install --omit=dev clamscan@^2.x.x newrelic@^11.x.x \
&& mkdir ./files \
&& chmod +x ./scripts/wait-for-postgres.sh ./scripts/parse_idempotency_delete_expired_records.sh ./scripts/setup-dbs.sh ./scripts/setup-parse-index.sh ./scripts/setup-pgaudit.sh \
&& chown -R node ./files ./scripts

############################################################
# Release stage
############################################################
FROM parseplatform/parse-server:latest AS release
FROM netreconlab/parse-server:latest AS release

# Start parse-hipaa setup as root
USER root
Expand Down
4 changes: 2 additions & 2 deletions parse/Dockerfile.dashboard
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################################################
# Build stage
############################################################
FROM parseplatform/parse-server:latest AS build
FROM netreconlab/parse-server:latest AS build

# Setup directories
COPY ./scripts/ ./scripts/
Expand All @@ -19,7 +19,7 @@ RUN apk --no-cache add git \
############################################################
# Release stage
############################################################
FROM parseplatform/parse-server:latest AS release
FROM netreconlab/parse-server:latest AS release

# Start parse-hipaa setup as root
USER root
Expand Down

0 comments on commit 016ed4a

Please sign in to comment.