Skip to content

Pin OpenMCT version #22

@Mejiro-McQueen

Description

@Mejiro-McQueen

OpenMCT stopped building sometime between June and July
Need to pin OpenMCT to v2.2.5

Probably a good idea to clone and own OpenMCT and have the dockerfile pull from us.
This way we can keep up with development.

Otherwise a quick hack in time for a demo:

from node:19 AS builder
RUN git clone https://github.com/nasa/openmct.git
WORKDIR ./openmct
RUN	git checkout tags/v2.2.5
WORKDIR openmct
RUN npm update && npm install

from nginx:latest
COPY nginx.conf /etc/nginx/nginx.conf

WORKDIR /app/dist
COPY --from=builder /openmct/dist ./
COPY ./index.html ./
COPY ./bifrost.js ../
COPY ./bifrost-config.json ../

ENV NGINX_HOST=localhost
ENV NGINX_PORT=8081
EXPOSE 8081:8081

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuild-systemIt won't build!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions