File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM crystallang /crystal:latest
1
+ FROM 84codes /crystal:latest-ubuntu-jammy
2
2
3
3
# Install Dependencies
4
4
ARG DEBIAN_FRONTEND=noninteractive
@@ -8,7 +8,14 @@ WORKDIR /opt/amber
8
8
9
9
# Build Amber
10
10
ENV PATH /opt/amber/bin:$PATH
11
- COPY . /opt/amber
11
+
12
+ COPY shard.yml /opt/amber
13
+ COPY shard.lock /opt/amber
14
+ RUN shards install
15
+
16
+ COPY src /opt/amber/src
17
+ COPY spec /opt/amber/spec
18
+ COPY bin /opt/amber/bin
12
19
RUN shards build amber
13
20
14
- CMD [ "crystal" , "spec" ]
21
+ ENTRYPOINT [ ]
Original file line number Diff line number Diff line change @@ -9,6 +9,5 @@ crystal tool format --check
9
9
echo " \nRunning 'crystal spec':"
10
10
crystal spec
11
11
12
- # Temporarily disabling due to some dependency challenges happening with granite
13
- # echo "\nRunning 'crystal spec ./spec/build_spec_granite.cr':"
14
- # crystal spec ./spec/build_spec_granite.cr
12
+ echo " \nRunning 'crystal spec ./spec/build_spec_granite.cr':"
13
+ crystal spec ./spec/build_spec_granite.cr
You can’t perform that action at this time.
0 commit comments