-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dcdba48
commit 8dd5d01
Showing
4 changed files
with
5,785 additions
and
3,906 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,25 +51,18 @@ RUN set -ex \ | |
&& add-apt-repository --no-update --yes "deb http://archive.ubuntu.com/ubuntu/ jammy multiverse" \ | ||
&& add-apt-repository --no-update --yes "deb http://archive.ubuntu.com/ubuntu/ jammy-security universe" \ | ||
&& add-apt-repository --no-update --yes "deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse" \ | ||
&& curl -sS https://deb.nodesource.com/setup_14.x | bash - \ | ||
&& curl -so /tmp/repo-mediaarea_1.0-21_all.deb -L https://mediaarea.net/repo/deb/repo-mediaarea_1.0-21_all.deb \ | ||
&& dpkg -i /tmp/repo-mediaarea_1.0-21_all.deb \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
libyaml-dev clamav \ | ||
libyaml-dev clamav nodejs \ | ||
&& /src/hack/osdeps.py Ubuntu-22 1 | grep -v -E "nginx|postfix|python3.9-dev" | xargs apt-get install -y --no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Download ClamAV virus signatures | ||
RUN freshclam --quiet | ||
|
||
# Install pip, Node.js and Yarn | ||
RUN set -ex \ | ||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ | ||
&& add-apt-repository --yes "deb https://dl.yarnpkg.com/debian/ stable main" \ | ||
&& apt-get install -y --no-install-recommends \ | ||
yarn nodejs \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV PYENV_ROOT="/pyenv/data" | ||
ENV PATH=$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH | ||
|
||
|
@@ -141,13 +134,11 @@ RUN set -ex \ | |
/src/src/dashboard/src/media \ | ||
' \ | ||
&& mkdir -p $internalDirs \ | ||
&& chown -R archivematica $internalDirs | ||
&& chown -R archivematica $internalDirs \ | ||
&& npm install -g [email protected] /src/src/dashboard/frontend | ||
|
||
USER archivematica | ||
|
||
RUN set -ex \ | ||
&& yarn --cwd=/src/src/dashboard/frontend install --frozen-lockfile | ||
|
||
WORKDIR /src/src/dashboard/src | ||
|
||
ENV DJANGO_SETTINGS_MODULE settings.local | ||
|
@@ -197,7 +188,7 @@ USER archivematica | |
|
||
WORKDIR /src/src/dashboard/frontend | ||
|
||
ENTRYPOINT ["yarn", "run", "test-single-run"] | ||
ENTRYPOINT ["npm", "run", "test-single-run"] | ||
|
||
# ----------------------------------------------------------------------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.