Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin OpenMCT version #22

Open
Mejiro-McQueen opened this issue Jul 26, 2023 · 0 comments
Open

Pin OpenMCT version #22

Mejiro-McQueen opened this issue Jul 26, 2023 · 0 comments
Labels
bug Something isn't working build-system It won't build!

Comments

@Mejiro-McQueen
Copy link
Owner

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
@Mejiro-McQueen Mejiro-McQueen pinned this issue Jul 26, 2023
@Mejiro-McQueen Mejiro-McQueen added bug Something isn't working build-system It won't build! labels Jul 26, 2023
Mejiro-McQueen added a commit that referenced this issue Jul 26, 2023
OpenMCT won't build correctly with versions after 2.2.5
Will need to address later.
Addresses #22
Mejiro-McQueen added a commit that referenced this issue Jul 26, 2023
OpenMCT won't build correctly with versions after 2.2.5
Will need to address later.
Addresses #22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build-system It won't build!
Projects
None yet
Development

No branches or pull requests

1 participant