Skip to content

Commit 7f4b823

Browse files
committed
fix alpine docker
1 parent 3b81b7e commit 7f4b823

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

docker/alpine-msnodesqlv8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.18
1+
FROM alpine:3.21
22

33
RUN apk update && \
44
apk add curl gcc libc-dev g++ libffi-dev libxml2 unixodbc unixodbc-dev openssl perl gnupg python3 git vim pingu nodejs make npm bash

docker/alpine-msnodesqlv8/README

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
2+
from this folder build image
3+
4+
docker build . -t msnodesqlv8-alpine
5+
6+
or with human readable log and clean rebuild
7+
8+
docker build --no-cache --progress=plain . 2>&1 | tee build.log
9+
10+
list the docker images
11+
12+
docker images
13+
14+
list these images only
15+
16+
docker images msnodesql*
17+
18+
REPOSITORY TAG IMAGE ID CREATED SIZE
19+
msnodesqlv8-alpine latest 94aa468ed1b3 21 hours ago 1.25GB
20+
msnodesqlv8-alpine latest c1eee90b2e4d 26 hours ago 2.42GB
21+
22+
start an interactive shell in a new container
23+
24+
docker run -it msnodesqlv8-alpine bash
25+
26+
go to driver folder git repo
27+
28+
cd ~/app/driver/node_modules/msnodesqlv8
29+
30+
change the connection string in
31+
32+
cat .env-cmdrc
33+
34+
exit shell
35+
36+
exit <ret>
37+
38+
list containers
39+
40+
docker container ls -a
41+
42+
start a container
43+
44+
docker start abc6f443950c
45+
46+
connect interactive shell to the container
47+
48+
docker exec -it upbeat_easley bash
49+
50+
list all container running or stopped
51+
52+
docker ps -a

0 commit comments

Comments
 (0)