Skip to content

Commit

Permalink
Merge pull request apache#5 from tgunther-zerofox/docker-m1
Browse files Browse the repository at this point in the history
Feat: Run on m1 ZFE-74262
  • Loading branch information
rguerraZero committed Aug 16, 2023
2 parents 937ff56 + 8136d38 commit f17d52f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ RUN mkdir -p /app/superset-frontend
COPY ./docker/frontend-mem-nag.sh /
RUN /frontend-mem-nag.sh

RUN apt-get update || : && apt-get install -y \
python3 \
build-essential

WORKDIR /app/superset-frontend/

COPY superset-frontend/package*.json ./
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Service Owner: Guillermo Negrete (@zgnegrete)
Secondaries:
Secondaries:
---
<!--
Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -34,6 +34,13 @@ to run it locally take in note that needs atleast 3gb on docker memory to run pr
1. `make build`: Generates local superset image
2. `make run`: Runs local superset image

Note: the local build will need you to compile the assets on the host machine:

```
cd superset-frontend
npm install
npm run build
```

## How to update this repo

Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ xlsxwriter==3.0.7
# Extra from BI
cryptography<40,>=39.0.0
pyopenssl
psycopg2-binary
psycopg2
redis
sqlalchemy-bigquery>=1.5.0
flower
Expand Down

0 comments on commit f17d52f

Please sign in to comment.