Skip to content

Commit 74f8431

Browse files
committed
fix devcontainer
1 parent 6a92bca commit 74f8431

File tree

3 files changed

+101
-70
lines changed

3 files changed

+101
-70
lines changed

.devcontainer/Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM mcr.microsoft.com/devcontainers/base:ubuntu
2+
3+
RUN apt-get update \
4+
&& export DEBIAN_FRONTEND=noninteractive \
5+
&& apt-get -y dist-upgrade \
6+
&& apt-get -y install --no-install-recommends htop vim curl git build-essential \
7+
libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev libbz2-dev \
8+
zlib1g-dev unixodbc unixodbc-dev libsecret-1-0 libsecret-1-dev libsqlite3-dev \
9+
jq apt-transport-https ca-certificates gnupg-agent \
10+
software-properties-common bash-completion python3-pip make libbz2-dev \
11+
libreadline-dev libsqlite3-dev wget llvm libncurses5-dev libncursesw5-dev \
12+
xz-utils tk-dev liblzma-dev netcat libyaml-dev
13+
14+
USER vscode
15+
16+
WORKDIR /workspaces/eps-workflow-quality-checks

.devcontainer/devcontainer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44
"name": "Ubuntu",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
66
"build": {
7-
"dockerfile": "mcr.microsoft.com/devcontainers/universal:linux"
7+
"dockerfile": "Dockerfile",
8+
"context": "..",
9+
"args": {}
810
},
911
"mounts": [
12+
"source=${env:HOME}${env:USERPROFILE}/.aws,target=/home/vscode/.aws,type=bind",
1013
"source=${env:HOME}${env:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind",
11-
"source=${env:HOME}${env:USERPROFILE}/.gnupg,target=/home/vscode/.gnupg,type=bind"
14+
"source=${env:HOME}${env:USERPROFILE}/.gnupg,target=/home/vscode/.gnupg,type=bind",
15+
"source=${env:HOME}${env:USERPROFILE}/.npmrc,target=/home/vscode/.npmrc,type=bind"
1216
],
1317
"containerUser": "vscode",
1418
"features": {},
Lines changed: 79 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,81 @@
11
{
2-
"folders":[
3-
{
4-
"name": "eps-workflow-quality-checks",
5-
"path": "."
6-
}
7-
],
8-
"settings": {
2+
"folders": [
3+
{
4+
"name": "eps-workflow-quality-checks",
5+
"path": ".."
6+
}
7+
],
8+
"settings": {
99
"cSpell.words": [
10-
"apigw",
11-
"ASID",
12-
"AWSKMS",
13-
"Caldicott",
14-
"canonicalise",
15-
"Canonicaliser",
16-
"canonicalization",
17-
"Canonicalized",
18-
"Codeable",
19-
"codeinline",
20-
"codesystem",
21-
"devcontainer",
22-
"electronic-prescription-service-clinical-prescription-tracker",
23-
"esbuild",
24-
"fhir",
25-
"Formik",
26-
"Fulfillment",
27-
"Hashable",
28-
"healthcheck",
29-
"Helpdesk",
30-
"homecare",
31-
"HSCN",
32-
"liter",
33-
"milliliter",
34-
"NHSD",
35-
"nhsdlogin",
36-
"nhslogin",
37-
"NOSONAR",
38-
"OIDC",
39-
"Orthoptist",
40-
"Payor",
41-
"pino",
42-
"pollable",
43-
"powertools",
44-
"Prosthetist",
45-
"querystring",
46-
"reingest",
47-
"reingested",
48-
"Reingestion",
49-
"serialisation",
50-
"smartcard",
51-
"smartcards",
52-
"Snomed",
53-
"sourcetype",
54-
"Truststore",
55-
"URID",
56-
"URPID",
57-
"vars",
58-
"versionable",
59-
"whens"
60-
],
61-
"cSpell.dictionaries": [
62-
"en-GB"
63-
],
64-
"cSpell.ignorePaths": [
65-
"package-lock.json",
66-
"node_modules",
67-
".vscode"
68-
],
69-
}
70-
}
10+
"apigw",
11+
"ASID",
12+
"AWSKMS",
13+
"Caldicott",
14+
"canonicalise",
15+
"Canonicaliser",
16+
"canonicalization",
17+
"Canonicalized",
18+
"Codeable",
19+
"codeinline",
20+
"codesystem",
21+
"devcontainer",
22+
"electronic-prescription-service-clinical-prescription-tracker",
23+
"esbuild",
24+
"fhir",
25+
"Formik",
26+
"Fulfillment",
27+
"Hashable",
28+
"healthcheck",
29+
"Helpdesk",
30+
"homecare",
31+
"HSCN",
32+
"liter",
33+
"milliliter",
34+
"NHSD",
35+
"nhsdlogin",
36+
"nhslogin",
37+
"NOSONAR",
38+
"OIDC",
39+
"Orthoptist",
40+
"Payor",
41+
"pino",
42+
"pollable",
43+
"powertools",
44+
"Prosthetist",
45+
"querystring",
46+
"reingest",
47+
"reingested",
48+
"Reingestion",
49+
"serialisation",
50+
"smartcard",
51+
"smartcards",
52+
"Snomed",
53+
"sourcetype",
54+
"Truststore",
55+
"URID",
56+
"URPID",
57+
"vars",
58+
"versionable",
59+
"whens"
60+
],
61+
"cSpell.dictionaries": [
62+
"en-GB"
63+
],
64+
"cSpell.ignorePaths": [
65+
"package-lock.json",
66+
"node_modules",
67+
".vscode"
68+
]
69+
},
70+
"extensions": {
71+
"recommendations": [
72+
"eamodio.gitlens",
73+
"github.vscode-pull-request-github",
74+
"redhat.vscode-yaml",
75+
"streetsidesoftware.code-spell-checker",
76+
"timonwong.shellcheck",
77+
"mkhl.direnv",
78+
"tamasfe.even-better-toml"
79+
]
80+
}
81+
}

0 commit comments

Comments
 (0)