Skip to content

Commit

Permalink
Install xdg-utils to support new vite version (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
ud3sh authored May 12, 2023
1 parent baf312c commit 54b7edf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:18-alpine3.14

FROM node:19-alpine3.16
ARG WORKSPACE_DIR=/evidence-workspace

RUN apk add --no-cache bash curl wget nano git && \
apk add xdg-utils && \
npm install -g degit && \
mkdir -p ${WORKSPACE_DIR} && \
mkdir -p /evidence-bin
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,13 @@ docker build -t <image-name> .
cd <path-to-your-evidence-project-root>
docker run -v=$(pwd):/evidence-workspace -p=3000:3000 -it --rm <image-name> <command-to-run>
```

## Publishing the latest image to Docker Hub
Currently the image is hosted on Dockerhub. To build and publish a new version, follow these steps
1. Login to Dockerhub => `docker login`
2. Build the image => `docker build -t evidencedev/devenv:latest .`
3. Push the image to Dockerhub => `docker push evidencedev/devenv:latest`

For login credentials, see `EvidenceDev Dockerhub Admin` in 1password. This is setup under `udesh@evidence.dev` (didn't think to create a google group for this at the time e.g devs@evidence.dev - will do so in the future - feel free to use it in the meantime).

We should consider hosting this in AWS with CD/CI setup to automatically publish new versions of the image from main

0 comments on commit 54b7edf

Please sign in to comment.