Skip to content

Commit e81e2c8

Browse files
committed
♻ Refactor: Fix docker command errors and add run_docker.sh
1 parent 223ad42 commit e81e2c8

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04 AS builder
1+
FROM ubuntu:24.04 AS builder
22
WORKDIR /
33

44
# Add dependencies
@@ -21,6 +21,6 @@ COPY . /CodeAstra
2121
WORKDIR /CodeAstra
2222

2323
# Run dockerized tests script
24-
RUN chmod +x ./run_dockerized_tests.sh
24+
RUN chmod +x ./test_with_xvbf.sh
2525

26-
CMD ["./run_dockerized_tests.sh"]
26+
CMD ["./test_with_xvbf.sh"]

run_docker.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
docker build -t "code-astra:tester" .
4+
docker run --name "code-astra-tester" "code-astra:tester"
5+
docker rm "code-astra-tester"

0 commit comments

Comments
 (0)