Skip to content

Commit

Permalink
Use Ubuntu 20.04 for local OpenVSCode Server container
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Dwyer <[email protected]>
  • Loading branch information
coderpatros committed Oct 17, 2021
1 parent 179b7a5 commit df305c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG BASE_IMAGE=gitpod/workspace-full:latest
FROM ${BASE_IMAGE}

ARG USER=gitpod

FROM $BASE_IMAGE

USER root
RUN apt-get update && apt-get install -y \
build-essential \
Expand Down
4 changes: 2 additions & 2 deletions localdev.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

docker build --tag cyclonedx-conan-development --build-arg BASE_IMAGE=gitpod/openvscode-server:latest --build-arg USER=vscode-server --file .gitpod.Dockerfile .
docker run -it --init -p 3000:3000 -v "$(pwd):/workspace:cached" cyclonedx-conan-development
docker build --tag cyclonedx-conan-development --build-arg BASE_IMAGE=ghcr.io/coderpatros/openvscode-server:latest --build-arg USERNAME=openvscode-server --file .gitpod.Dockerfile .
docker run -it --init -p 3000:3000 -v "$(pwd):/workspace:cached" cyclonedx-conan-development

0 comments on commit df305c8

Please sign in to comment.