Skip to content

Commit 8169ac2

Browse files
committed
Updated Dockerfile for local env testing
1 parent a498976 commit 8169ac2

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

local/Dockerfile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,15 @@ ENV LUA_DIR "/lua_install"
55
ENV PATH "$PATH:$LUA_DIR/bin"
66

77
RUN apt-get -y update \
8-
&& apt-get install -y -qq --no-install-recommends unzip \
8+
&& apt-get install -y -qq --no-install-recommends sudo zip unzip \
99
&& pip install hererocks \
1010
&& hererocks $LUA_DIR -r^ --lua=$LUA_VERSION \
11+
&& luarocks install libsodium \
1112
&& luarocks install basexx \
1213
&& luarocks install lua-struct \
1314
&& luarocks install busted \
1415
&& luarocks install luacheck \
1516
&& luarocks install luacov
16-
17-
RUN wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz \
18-
&& tar xzf LATEST.tar.gz \
19-
&& cd libsodium-stable/ \
20-
&& ./configure --prefix=/usr \
21-
&& make \
22-
&& make check \
23-
&& make install
2417

2518
WORKDIR /paseto
2619

0 commit comments

Comments
 (0)