Skip to content

Commit b56b3bf

Browse files
apply update to prototype package
1 parent 636e86c commit b56b3bf

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

.github/workflows/docker_ci.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -91,23 +91,3 @@ jobs:
9191
# This step uses the identity token to provision an ephemeral certificate
9292
# against the sigstore community Fulcio instance.
9393
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
94-
95-
test_dockerfile:
96-
runs-on: ubuntu-latest
97-
98-
steps:
99-
- name: Checkout repository
100-
uses: actions/checkout@v4
101-
102-
- name: Set up Docker Buildx
103-
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
104-
105-
- name: Build Docker image
106-
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
107-
with:
108-
context: .
109-
load: true
110-
tags: test-image:latest
111-
112-
- name: Run tests
113-
run: docker run --rm test-image:latest /path/to/your/test/script.sh

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ ENV CC=/usr/bin/gcc
3030
ENV CXX=/usr/bin/g++
3131
ENV LD_LIBRARY_PATH=/usr/local/lib
3232

33+
# Set the working directory
34+
WORKDIR /usr/src/app
35+
36+
# Copy the source code
37+
COPY . .
38+
3339
# Set the working directory
3440
RUN meson setup builddir
3541
RUN meson compile -C builddir

0 commit comments

Comments
 (0)