Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

SEGFAULT Debugging #46

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/TestPRs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,18 @@ jobs:
name: Checkout
uses: actions/checkout@v3
-
name: Run tests
run: docker-compose -f docker-compose.test.yml run test
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build and push builder
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: false
target: builder
tags: |
sourceboat/docker-phoenix:test
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ ENV MIX_HOME=/opt/mix \
RUN mkdir $APP_HOME
WORKDIR $APP_HOME

RUN apk --no-cache --update-cache --available upgrade \
&& apk add --no-cache --update-cache bash ca-certificates libstdc++ build-base git inotify-tools nodejs npm yarn \
&& mix do local.hex --force, local.rebar --force \
&& update-ca-certificates --fresh
RUN apk --no-cache --update-cache --available upgrade
RUN apk add --no-cache --update-cache bash ca-certificates libstdc++ build-base git inotify-tools nodejs npm yarn
RUN mix do local.hex --force, local.rebar --force
RUN update-ca-certificates --fresh

SHELL ["/bin/bash", "-c"]

Expand Down